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.001343/0.001343, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001449/0.001449, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 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.2413/0.2413, allocations: 44.91 MB / 358.8 MB, free: 6.398 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.89 kB / 0.4931 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003145/0.3601, allocations: 1.739 MB / 0.5587 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.3602, allocations: 83.67 kB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3603, allocations: 0 / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.3604, allocations: 15.86 kB / 0.5588 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.3604, allocations: 19.78 kB / 0.5588 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.015e-05/0.3605, allocations: 23.97 kB / 0.5588 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3607, allocations: 103.6 kB / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3608, allocations: 45.78 kB / 0.559 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.3609, allocations: 39.86 kB / 0.559 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.361, allocations: 51.78 kB / 0.5591 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.361, allocations: 12 kB / 0.5591 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.361, allocations: 12 kB / 0.5591 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.361, allocations: 19.92 kB / 0.5591 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.597e-05/0.3611, allocations: 51.8 kB / 0.5592 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3613, allocations: 119.5 kB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3613, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3613, allocations: 0 / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3613, allocations: 4 kB / 0.5593 GB, free: 5.48 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.0006065/0.3619, allocations: 330.1 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3619, allocations: 12.03 kB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.362, allocations: 46.73 kB / 0.5596 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.362, allocations: 12.84 kB / 0.5597 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3621, allocations: 110.5 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3622, allocations: 8.609 kB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3622, allocations: 16.31 kB / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3624, allocations: 121.6 kB / 0.5599 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3624, allocations: 7.922 kB / 0.5599 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3625, allocations: 12 kB / 0.5599 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3625, allocations: 4 kB / 0.5599 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3626, allocations: 63.97 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.3635, allocations: 0.6914 MB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3636, allocations: 181 kB / 0.5608 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.3637, allocations: 80.14 kB / 0.5609 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.3637, allocations: 75.28 kB / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.3638, allocations: 105.8 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3638, allocations: 0 / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.121e-05/0.3639, allocations: 33.7 kB / 0.5611 GB, free: 3.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.364, allocations: 126.7 kB / 0.5612 GB, free: 3.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3641, allocations: 161.4 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3641, allocations: 25.7 kB / 0.5614 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.3642, allocations: 123.8 kB / 0.5615 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-06/0.3642, allocations: 4 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3643, allocations: 21.67 kB / 0.5616 GB, free: 2.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3644, allocations: 326.8 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.3644, allocations: 8 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.3645, allocations: 37.16 kB / 0.5619 GB, free: 2.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.3645, allocations: 57.08 kB / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3645, allocations: 0 / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001471/0.3647, allocations: 73.56 kB / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3647, allocations: 10.81 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3647, allocations: 128 / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3647, allocations: 12.19 kB / 0.5621 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.3648, allocations: 11.94 kB / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3648, allocations: 0 / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.3649, allocations: 11.89 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3649, allocations: 4 kB / 0.5621 GB, free: 2.34 MB / 398.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.0001285/0.365, allocations: 193.1 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.3651, allocations: 117.9 kB / 0.5624 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.3651, allocations: 120.6 kB / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-05/0.3652, allocations: 176.3 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.178e-05/0.3653, allocations: 184.2 kB / 0.5628 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.64e-05/0.3654, allocations: 180.2 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3657, allocations: 416.2 kB / 0.5634 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/0.3657, allocations: 101 kB / 0.5635 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.3658, allocations: 105 kB / 0.5636 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.3658, allocations: 180.4 kB / 0.5638 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.3659, allocations: 180.3 kB / 0.564 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.369e-05/0.366, allocations: 188.2 kB / 0.5641 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.051e-05/0.3661, allocations: 176.3 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3663, allocations: 315.7 kB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3663, allocations: 116.9 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.3664, allocations: 184.2 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3665, allocations: 105 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.3666, allocations: 184.1 kB / 0.5652 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.3667, allocations: 112.9 kB / 0.5653 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.3668, allocations: 115.2 kB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3668, allocations: 0 / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.367, allocations: 15.94 kB / 0.5654 GB, free: 14.75 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.0004801/0.3675, allocations: 0.8126 MB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.3676, allocations: 19.94 kB / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3676, allocations: 0 / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3676, allocations: 0 / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.368, allocations: 460 kB / 0.5666 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3695, allocations: 1.592 MB / 0.5682 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3699, allocations: 0.6924 MB / 0.5689 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.3699, allocations: 4 kB / 0.5689 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3699, allocations: 27.42 kB / 0.5689 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3699, allocations: 4 kB / 0.5689 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3977, allocations: 1.737 MB / 0.5706 GB, free: 9.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.16, allocations: 6.516 kB / 0.5706 GB, free: 9.367 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/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: 14.255912576103583]