Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001966/0.001966, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002818/0.002818, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 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.645/1.645, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2517/0.2517, allocations: 46.91 MB / 361.1 MB, free: 4.738 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 75.88 kB / 0.4967 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4492, allocations: 66 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003434/0.4527, allocations: 1.74 MB / 0.5629 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.4529, allocations: 71.67 kB / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.453, allocations: 0 / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.586e-05/0.453, allocations: 23.84 kB / 0.563 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.4531, allocations: 31.7 kB / 0.563 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.688e-05/0.4532, allocations: 15.98 kB / 0.563 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.4534, allocations: 103.6 kB / 0.5631 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.4536, allocations: 43.95 kB / 0.5632 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.4536, allocations: 43.86 kB / 0.5632 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4538, allocations: 51.77 kB / 0.5632 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4538, allocations: 12 kB / 0.5633 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.4538, allocations: 8 kB / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.4539, allocations: 19.94 kB / 0.5633 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.4539, allocations: 51.8 kB / 0.5633 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.4541, allocations: 122.3 kB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4541, allocations: 0 / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4541, allocations: 0 / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4541, allocations: 0 / 0.5635 GB, free: 2.707 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.0006142/0.4547, allocations: 407.3 kB / 0.5638 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4548, allocations: 8.031 kB / 0.5638 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4548, allocations: 20.83 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.455, allocations: 168.3 kB / 0.564 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.455, allocations: 12.61 kB / 0.564 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4551, allocations: 8.375 kB / 0.564 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4553, allocations: 125.6 kB / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4553, allocations: 8.188 kB / 0.5642 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4553, allocations: 7.938 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.4554, allocations: 7.938 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.4555, allocations: 63.97 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.4565, allocations: 0.7275 MB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4566, allocations: 169.1 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.4566, allocations: 80.14 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.4567, allocations: 75.28 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.91e-05/0.4567, allocations: 109.8 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 3.146e-06/0.4568, allocations: 7.938 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.355e-05/0.4568, allocations: 29.7 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.4569, allocations: 130.6 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4571, allocations: 159.6 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4571, allocations: 25.7 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4572, allocations: 119.9 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.4572, allocations: 0 / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.4573, allocations: 21.67 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4574, allocations: 330.8 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.4575, allocations: 11.88 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.4575, allocations: 41.14 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.4576, allocations: 57.03 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4576, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001619/0.4578, allocations: 69.56 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4578, allocations: 8 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4578, allocations: 4.188 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4578, allocations: 4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.4579, allocations: 12 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.4579, allocations: 3.984 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.458, allocations: 11.89 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.458, allocations: 7.938 kB / 0.5664 GB, free: 15.41 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.0001512/0.4581, allocations: 193.1 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4582, allocations: 110 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.4583, allocations: 128.6 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/0.4585, allocations: 180.2 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.862e-05/0.4586, allocations: 176.3 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/0.4586, allocations: 180.2 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.459, allocations: 437.1 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.668e-05/0.4591, allocations: 116.9 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.4591, allocations: 101 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.573e-05/0.4592, allocations: 180.4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.997e-05/0.4593, allocations: 180.2 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001042/0.4594, allocations: 184.3 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.513e-05/0.4595, allocations: 180.3 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.4597, allocations: 315.7 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.4599, allocations: 194 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.46, allocations: 180.3 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4601, allocations: 104.9 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4602, allocations: 196.2 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.4603, allocations: 101 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.4604, allocations: 113.5 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4604, allocations: 4 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.4606, allocations: 19.88 kB / 0.5698 GB, free: 11.69 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.0002269/0.4609, allocations: 166.5 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.461, allocations: 28.11 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.461, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.461, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.4616, allocations: 459.7 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.4621, allocations: 238.5 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.4625, allocations: 0.6926 MB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.4625, allocations: 11.92 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4626, allocations: 11.44 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4626, allocations: 0 / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of Templates: time 0.00297/0.4655, allocations: 416.7 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.552925745025277]