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.00164/0.00164, allocations: 85.95 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001423/0.001423, allocations: 167.3 kB / 23.95 MB, free: 4.16 MB / 14.72 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.387/1.387, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.1963/0.1963, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] 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.433e-06/1.433e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.236e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002588/0.002611, allocations: 1.668 MB / 441.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.002774, allocations: 75.72 kB / 441.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.002834, allocations: 4 kB / 441.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.002887, allocations: 11.86 kB / 441.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.002955, allocations: 31.66 kB / 441.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.319e-05/0.003028, allocations: 19.97 kB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003164, allocations: 107.5 kB / 442 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.003306, allocations: 47.14 kB / 442 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.003383, allocations: 55.95 kB / 442.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.003455, allocations: 39.89 kB / 442.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.00349, allocations: 12 kB / 442.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.003507, allocations: 8 kB / 442.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.003535, allocations: 19.92 kB / 442.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.003587, allocations: 39.91 kB / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.003749, allocations: 123.6 kB / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003751, allocations: 0 / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003752, allocations: 0 / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.00376, allocations: 0 / 442.3 MB, free: 5.898 MB / 366.1 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.0004854/0.004245, allocations: 322.2 kB / 442.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.004276, allocations: 12.03 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.004311, allocations: 12.89 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.004444, allocations: 121.6 kB / 442.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004456, allocations: 8.609 kB / 442.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.004478, allocations: 12.38 kB / 442.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.004704, allocations: 129.5 kB / 442.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004713, allocations: 4.125 kB / 442.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.00473, allocations: 12.38 kB / 442.9 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004737, allocations: 8.312 kB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.004851, allocations: 63.86 kB / 443 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.005615, allocations: 0.63 MB / 443.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005722, allocations: 173.1 kB / 443.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.005758, allocations: 80.14 kB / 443.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.005789, allocations: 75.28 kB / 444 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.005849, allocations: 113.8 kB / 444.1 MB, free: 4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.00585, allocations: 0 / 444.1 MB, free: 4 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.019e-05/0.00592, allocations: 37.64 kB / 444.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.005991, allocations: 126.7 kB / 444.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.006109, allocations: 129.8 kB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.006122, allocations: 25.7 kB / 444.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.006212, allocations: 128 kB / 444.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.006214, allocations: 0 / 444.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.006251, allocations: 25.66 kB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.006392, allocations: 314.8 kB / 444.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.006411, allocations: 8 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.006461, allocations: 45.14 kB / 444.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.006531, allocations: 57.03 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.006535, allocations: 3.938 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001423/0.006677, allocations: 69.56 kB / 445 MB, free: 2.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006689, allocations: 4 kB / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.006696, allocations: 4 kB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.006709, allocations: 192 / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.006773, allocations: 15.98 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.006779, allocations: 4 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.006821, allocations: 11.89 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006825, allocations: 4 kB / 445.1 MB, free: 2.91 MB / 366.1 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.0001215/0.006947, allocations: 201.7 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.007019, allocations: 101 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.007082, allocations: 112.5 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.113e-05/0.007173, allocations: 184.2 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.824e-05/0.007262, allocations: 176.6 kB / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.482e-05/0.007346, allocations: 188.1 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.007603, allocations: 376.9 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-05/0.007658, allocations: 108.9 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.007715, allocations: 116.9 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.198e-05/0.007797, allocations: 176.3 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.007886, allocations: 184.2 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.896e-05/0.007965, allocations: 180.3 kB / 447.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.094e-05/0.008046, allocations: 176.3 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.008219, allocations: 311.9 kB / 447.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.008278, allocations: 112.8 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1779/0.1862, allocations: 181 kB / 447.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.1863, allocations: 101.7 kB / 448 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1863, allocations: 182.3 kB / 448.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.1863, allocations: 105.5 kB / 448.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.1864, allocations: 97.16 kB / 448.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1864, allocations: 1.281 kB / 448.4 MB, free: 21.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1866, allocations: 19.75 kB / 448.4 MB, free: 21.2 MB / 366.1 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 7.807e-05/0.1867, allocations: 173.9 kB / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.1868, allocations: 17.66 kB / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1868, allocations: 0 / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.1868, allocations: 1.5 kB / 448.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.187, allocations: 458.7 kB / 449 MB, free: 20.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.1874, allocations: 255.3 kB / 449.3 MB, free: 20.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.1874, allocations: 82.59 kB / 449.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.1874, allocations: 2.391 kB / 449.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1874, allocations: 9.719 kB / 449.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1874, allocations: 0 / 449.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of Templates: time 0.002554/0.19, allocations: 281.9 kB / 449.6 MB, free: 20.28 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] 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: 4.53787811845541]