Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001626/0.001626, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001808/0.001808, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 46.96 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003192/0.3836, allocations: 1.682 MB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.3838, allocations: 71.73 kB / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3838, allocations: 0 / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.3839, allocations: 19.86 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.384, allocations: 27.7 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.246e-05/0.384, allocations: 27.97 kB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3842, allocations: 99.59 kB / 0.5637 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3844, allocations: 43.95 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.3844, allocations: 39.86 kB / 0.5637 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3846, allocations: 51.77 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.3846, allocations: 12 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.3846, allocations: 12 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.3846, allocations: 19.92 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.3847, allocations: 39.86 kB / 0.5639 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3849, allocations: 129.9 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3849, allocations: 4 kB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3849, allocations: 0 / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3849, allocations: 0 / 0.564 GB, free: 1.93 MB / 398.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.0006027/0.3855, allocations: 322.2 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3856, allocations: 8.031 kB / 0.5643 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.3856, allocations: 12.84 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3858, allocations: 118.4 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3858, allocations: 4.609 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3858, allocations: 12.38 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3861, allocations: 129.6 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3861, allocations: 4.188 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3861, allocations: 7.938 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3861, allocations: 4 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3863, allocations: 71.84 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.3871, allocations: 0.6257 MB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3872, allocations: 169.1 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.3873, allocations: 80.14 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.3873, allocations: 91.2 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.3874, allocations: 105.8 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3874, allocations: 0 / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.3875, allocations: 33.64 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.3876, allocations: 126.7 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3877, allocations: 125.7 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3877, allocations: 25.7 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3878, allocations: 135.9 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.3878, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3879, allocations: 17.72 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.388, allocations: 318.8 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.388, allocations: 12 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.3881, allocations: 41.16 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.3882, allocations: 57.03 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3882, allocations: 0 / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001522/0.3883, allocations: 77.55 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3883, allocations: 8 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3883, allocations: 0 / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3884, allocations: 4 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.3884, allocations: 8 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3884, allocations: 0 / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.3885, allocations: 7.953 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3885, allocations: 4 kB / 0.5667 GB, free: 14.96 MB / 414.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.0001347/0.3886, allocations: 197 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.3887, allocations: 122.2 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.3888, allocations: 112.3 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-05/0.3889, allocations: 184.2 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.837e-05/0.3889, allocations: 180.3 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.132e-05/0.389, allocations: 184.2 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3893, allocations: 380.8 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.888e-05/0.3894, allocations: 108.9 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.3894, allocations: 104.9 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.391e-05/0.3895, allocations: 180.8 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/0.3896, allocations: 180.2 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.931e-05/0.3897, allocations: 180.3 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.389e-05/0.3898, allocations: 196.2 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.39, allocations: 307.7 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.39, allocations: 112.9 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.3901, allocations: 184.2 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.3902, allocations: 104.9 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.3903, allocations: 180.3 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3904, allocations: 101 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.022e-05/0.3904, allocations: 95.2 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3904, allocations: 0 / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3907, allocations: 27.89 kB / 0.5699 GB, free: 11.43 MB / 414.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 0.0001338/0.3908, allocations: 170.5 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3909, allocations: 23.92 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3909, allocations: 0 / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3909, allocations: 0 / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3914, allocations: 463.6 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.3918, allocations: 238.8 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.699e-05/0.3919, allocations: 85.69 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.632e-05/0.3919, allocations: 4 kB / 0.5709 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.3919, allocations: 7.438 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3919, allocations: 0 / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Templates: time 0.002668/0.3946, allocations: 389.1 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.218985033003264]