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.001788/0.001788, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001561/0.001561, allocations: 161 kB / 24.56 MB, free: 8 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 0.9614/0.9614, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 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.2577/0.2577, allocations: 32.8 MB / 294.3 MB, free: 1.266 MB / 266.7 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.362e-06/1.362e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.558e-05, allocations: 14.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001843/0.001859, allocations: 1.753 MB / 377.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.001997, allocations: 67.73 kB / 377.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.002039, allocations: 4 kB / 377.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.002089, allocations: 27.8 kB / 377.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.002144, allocations: 23.77 kB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.218e-05/0.002216, allocations: 23.97 kB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002318, allocations: 107.3 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.002446, allocations: 43.95 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.002498, allocations: 63.88 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.002572, allocations: 27.91 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.002596, allocations: 12 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.002607, allocations: 8 kB / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.00263, allocations: 31.91 kB / 378.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.002666, allocations: 39.91 kB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.002777, allocations: 75.73 kB / 378.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002779, allocations: 0 / 378.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00278, allocations: 0 / 378.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.002784, allocations: 0 / 378.3 MB, free: 2.371 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.0003489/0.003133, allocations: 424.5 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.003167, allocations: 8.031 kB / 378.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.003213, allocations: 24.89 kB / 378.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.003292, allocations: 124.4 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.003305, allocations: 12.61 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.00332, allocations: 12.38 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.003461, allocations: 123.1 kB / 379 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003468, allocations: 192 / 379 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.003479, allocations: 4.375 kB / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.003488, allocations: 4.375 kB / 379 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.154e-05/0.003549, allocations: 43.84 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.004089, allocations: 0.8116 MB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.004171, allocations: 277.4 kB / 380.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.004461, allocations: 130.8 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.004485, allocations: 119.2 kB / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.004535, allocations: 160.6 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.004536, allocations: 0 / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.095e-05/0.004587, allocations: 25.7 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.00464, allocations: 170.6 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.004736, allocations: 189.8 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.004744, allocations: 25.7 kB / 380.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.004807, allocations: 174.7 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.004809, allocations: 4 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.004837, allocations: 27.33 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.004937, allocations: 0.4922 MB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.004947, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.004979, allocations: 58.12 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.00503, allocations: 66.05 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005032, allocations: 4 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001045/0.005137, allocations: 73.5 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005148, allocations: 8 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005153, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005164, allocations: 4 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.005214, allocations: 11.94 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005219, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.005241, allocations: 4 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005246, allocations: 8.188 kB / 381.9 MB, free: 14.5 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 7.42e-05/0.00532, allocations: 279.7 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.005362, allocations: 164.7 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.0054, allocations: 152.4 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/0.005449, allocations: 264.1 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/0.005499, allocations: 272 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.946e-05/0.005549, allocations: 268.1 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.005702, allocations: 0.5115 MB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.005731, allocations: 144.9 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.00576, allocations: 152.8 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.017e-05/0.00581, allocations: 276 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.005862, allocations: 268.2 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.174e-05/0.005914, allocations: 276 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-05/0.005963, allocations: 268.3 kB / 385.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.006068, allocations: 444 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.006107, allocations: 160.8 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.006164, allocations: 268 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.006218, allocations: 156.9 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.006277, allocations: 268 kB / 386.4 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.006305, allocations: 144.9 kB / 386.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.006346, allocations: 139.2 kB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006347, allocations: 4 kB / 386.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.0065, allocations: 15.95 kB / 386.7 MB, free: 9.508 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 8.44e-05/0.006584, allocations: 210.4 kB / 386.9 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.006669, allocations: 31.61 kB / 386.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.006671, allocations: 0 / 386.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.006672, allocations: 0 / 386.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.007226, allocations: 0.7061 MB / 387.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.007494, allocations: 304.8 kB / 387.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.007525, allocations: 59.34 kB / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.00754, allocations: 0 / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.00756, allocations: 12.5 kB / 388 MB, free: 8.129 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.007561, allocations: 0 / 388 MB, free: 8.129 MB / 362.7 MB Notification: Performance of Templates: time 0.001593/0.009153, allocations: 293.2 kB / 388.3 MB, free: 7.848 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9099478172138333]