Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3671/0.3671, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 375.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.727e-05/3.922e-05, allocations: 2.312 kB / 375.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003462/0.003501, allocations: 1.73 MB / 377 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.003701, allocations: 75.66 kB / 377 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.003764, allocations: 4 kB / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.003829, allocations: 11.86 kB / 377.1 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.003924, allocations: 23.78 kB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.743e-05/0.004021, allocations: 23.97 kB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.004545, allocations: 107.5 kB / 377.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.004723, allocations: 31.97 kB / 377.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.004831, allocations: 71.88 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004942, allocations: 35.89 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.004973, allocations: 8 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.004996, allocations: 12 kB / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.005032, allocations: 23.92 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.005097, allocations: 35.91 kB / 377.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005335, allocations: 119.6 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005339, allocations: 0 / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00534, allocations: 0 / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.005353, allocations: 3.984 kB / 377.5 MB, free: 2.715 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.0007562/0.006109, allocations: 436.2 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.006154, allocations: 8.031 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.006221, allocations: 24.83 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.006366, allocations: 116.5 kB / 378.1 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.006386, allocations: 8.609 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006409, allocations: 12.38 kB / 378.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.006699, allocations: 147.1 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00671, allocations: 192 / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.006727, allocations: 4.375 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006736, allocations: 4.375 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.006881, allocations: 63.91 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.008002, allocations: 0.8389 MB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.008196, allocations: 265.4 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.008283, allocations: 134.8 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-05/0.008359, allocations: 119.2 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.008459, allocations: 156.6 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.00846, allocations: 0 / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.097e-05/0.008551, allocations: 41.64 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.008674, allocations: 174.6 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.008894, allocations: 189.9 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.008913, allocations: 29.64 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.00907, allocations: 186.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.009074, allocations: 0 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.009123, allocations: 23.38 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002786/0.009402, allocations: 496.1 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.009425, allocations: 11.98 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.009499, allocations: 62.12 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.009613, allocations: 74.06 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009614, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001875/0.009802, allocations: 81.45 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.009821, allocations: 10.02 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009826, allocations: 192 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.009843, allocations: 8 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.009919, allocations: 11.94 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.00993, allocations: 4 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.009968, allocations: 4 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.009976, allocations: 4 kB / 381.2 MB, free: 14.74 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.0001991/0.01018, allocations: 279.8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.0103, allocations: 168.7 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.0104, allocations: 152.4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001737/0.01057, allocations: 272 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001529/0.01072, allocations: 264.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/0.01087, allocations: 272.1 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.01126, allocations: 0.5193 MB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-05/0.01135, allocations: 152.9 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.01143, allocations: 152.8 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.01158, allocations: 264.1 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.01174, allocations: 268.1 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001536/0.01189, allocations: 272 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002736/0.01216, allocations: 264.3 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.01245, allocations: 452 kB / 384.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.01255, allocations: 156.8 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.0127, allocations: 280 kB / 385.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.01282, allocations: 148.9 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.01299, allocations: 272 kB / 385.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.01307, allocations: 144.9 kB / 385.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.01317, allocations: 143.1 kB / 386 MB, free: 9.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01317, allocations: 0 / 386 MB, free: 9.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01345, allocations: 23.89 kB / 386.1 MB, free: 9.719 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.0001886/0.01364, allocations: 210.4 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.01376, allocations: 32.05 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01376, allocations: 4.062 kB / 386.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.01376, allocations: 0 / 386.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.01436, allocations: 0.71 MB / 387 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01485, allocations: 296.5 kB / 387.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.01495, allocations: 81.44 kB / 387.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.01497, allocations: 4 kB / 387.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.01501, allocations: 8.5 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01501, allocations: 0 / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of Templates: time 0.003083/0.01809, allocations: 297.2 kB / 387.7 MB, free: 8.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.095991955022328]