Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001949/0.001949, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3525/0.3525, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.952e-05, allocations: 6.25 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002991/0.003021, allocations: 1.719 MB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.003203, allocations: 79.66 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.003269, allocations: 4 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.833e-05/0.003337, allocations: 11.86 kB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.003454, allocations: 23.78 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.395e-05/0.003548, allocations: 23.97 kB / 379 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.003699, allocations: 111.4 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.003846, allocations: 39.98 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003946, allocations: 63.88 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.004042, allocations: 31.89 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.004065, allocations: 12 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.298e-05/0.004088, allocations: 12 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.00412, allocations: 23.92 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.004177, allocations: 39.91 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004362, allocations: 119.6 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.004366, allocations: 8 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004368, allocations: 0 / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.004373, allocations: 0 / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005946/0.004967, allocations: 432.2 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.005005, allocations: 8.031 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.005065, allocations: 20.89 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.00521, allocations: 124.4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.00523, allocations: 8.609 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005248, allocations: 12.38 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.005487, allocations: 135.2 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.005498, allocations: 8.188 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.005512, allocations: 4.375 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.00552, allocations: 4.375 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.005655, allocations: 63.91 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.006666, allocations: 0.8389 MB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.006868, allocations: 269.4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.006953, allocations: 130.8 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-05/0.007025, allocations: 123.2 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.849e-05/0.007123, allocations: 156.6 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.007124, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.007213, allocations: 37.66 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.007327, allocations: 170.6 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.007536, allocations: 189.8 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.00756, allocations: 29.7 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.007719, allocations: 178.7 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.007723, allocations: 3.938 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.007774, allocations: 23.38 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/0.008064, allocations: 0.4961 MB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.008084, allocations: 8 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.00816, allocations: 66.12 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.008269, allocations: 70.05 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008271, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000183/0.008454, allocations: 85.45 kB / 383.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.008472, allocations: 8 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008476, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.008492, allocations: 4 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.008561, allocations: 11.94 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008567, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.008605, allocations: 4 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.008614, allocations: 7.984 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.008784, allocations: 279.8 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.00889, allocations: 164.9 kB / 383.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.008977, allocations: 152.4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004493/0.009427, allocations: 268.1 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001793/0.009606, allocations: 272 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001654/0.009771, allocations: 264.1 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.01019, allocations: 0.5233 MB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.711e-05/0.01028, allocations: 148.9 kB / 385.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.01036, allocations: 152.8 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.0105, allocations: 264.1 kB / 385.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.01065, allocations: 272.1 kB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001352/0.01079, allocations: 272 kB / 386.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001328/0.01092, allocations: 268.3 kB / 386.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.01119, allocations: 448 kB / 386.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.01129, allocations: 160.8 kB / 387 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.01143, allocations: 272 kB / 387.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.01157, allocations: 148.9 kB / 387.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.0117, allocations: 268 kB / 387.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.01178, allocations: 148.9 kB / 387.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.694e-05/0.01188, allocations: 139.2 kB / 388 MB, free: 7.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01188, allocations: 0 / 388 MB, free: 7.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.01213, allocations: 23.89 kB / 388 MB, free: 7.617 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.01232, allocations: 214.4 kB / 388.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01243, allocations: 35.55 kB / 388.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01243, allocations: 0 / 388.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01243, allocations: 0 / 388.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.01303, allocations: 0.7122 MB / 388.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01351, allocations: 296.5 kB / 389.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.01361, allocations: 81.83 kB / 389.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.01363, allocations: 4 kB / 389.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.01366, allocations: 8.5 kB / 389.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01366, allocations: 0 / 389.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of Templates: time 0.002748/0.01641, allocations: 296.7 kB / 389.6 MB, free: 5.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.952869773027487]