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.0009135/0.0009135, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0009919/0.0009919, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 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.8784/0.8784, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.233/0.233, allocations: 32.79 MB / 293.5 MB, free: 1.207 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 439.5 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.282e-05, allocations: 4.109 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001752/0.001764, allocations: 1.676 MB / 441.2 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.001894, allocations: 79.66 kB / 441.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.001937, allocations: 0 / 441.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.001981, allocations: 15.86 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.00203, allocations: 27.72 kB / 441.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.978e-05/0.0021, allocations: 27.95 kB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.002192, allocations: 103.5 kB / 441.5 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.002329, allocations: 43.94 kB / 441.5 MB, free: 2.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.002383, allocations: 55.89 kB / 441.6 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.002444, allocations: 35.89 kB / 441.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.002467, allocations: 12 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.002478, allocations: 12 kB / 441.6 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.0025, allocations: 23.91 kB / 441.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.002531, allocations: 35.98 kB / 441.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.00265, allocations: 123.6 kB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002652, allocations: 0 / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002653, allocations: 0 / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002656, allocations: 0 / 441.8 MB, free: 1.996 MB / 410.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.0003366/0.002993, allocations: 326.2 kB / 442.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.003031, allocations: 12.02 kB / 442.1 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.003067, allocations: 46.69 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.00309, allocations: 12.84 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.003166, allocations: 117.7 kB / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.003179, allocations: 16.59 kB / 442.3 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.003191, allocations: 12.38 kB / 442.3 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.003359, allocations: 129.5 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003367, allocations: 192 / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.003377, allocations: 4.375 kB / 442.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.003386, allocations: 12.11 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.003468, allocations: 55.98 kB / 442.5 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.003987, allocations: 0.6724 MB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.004046, allocations: 173.1 kB / 443.4 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.004069, allocations: 92.02 kB / 443.5 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.004086, allocations: 75.28 kB / 443.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1489/0.1529, allocations: 109.8 kB / 443.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/0.1529, allocations: 0 / 443.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.169e-05/0.153, allocations: 28.33 kB / 443.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.1531, allocations: 126.7 kB / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1532, allocations: 151.5 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-06/0.1532, allocations: 25.7 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1532, allocations: 123.2 kB / 444.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.1532, allocations: 9.031 kB / 444.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1532, allocations: 19.91 kB / 444.1 MB, free: 46.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.747e-05/0.1533, allocations: 320.1 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.1533, allocations: 12.31 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.1533, allocations: 38.62 kB / 444.5 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.1533, allocations: 57.95 kB / 444.5 MB, free: 45.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1533, allocations: 2.969 kB / 444.5 MB, free: 45.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000104/0.1534, allocations: 78.98 kB / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1535, allocations: 5.5 kB / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1535, allocations: 0 / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1535, allocations: 3.562 kB / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.1535, allocations: 9.562 kB / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1535, allocations: 6.266 kB / 444.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.1536, allocations: 17.23 kB / 444.7 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1536, allocations: 3.812 kB / 444.7 MB, free: 45.7 MB / 410.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 4.786e-05/0.1536, allocations: 196.2 kB / 444.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1536, allocations: 115.7 kB / 445 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.1537, allocations: 113.2 kB / 445.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.1537, allocations: 181 kB / 445.3 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.1537, allocations: 180.2 kB / 445.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.1537, allocations: 183 kB / 445.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1538, allocations: 409 kB / 446 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1538, allocations: 105.1 kB / 446.1 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-06/0.1538, allocations: 108.4 kB / 446.2 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.1538, allocations: 180.1 kB / 446.4 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1539, allocations: 180.2 kB / 446.6 MB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.1539, allocations: 180.6 kB / 446.8 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.1539, allocations: 190.1 kB / 446.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.054e-05/0.1539, allocations: 311.3 kB / 447.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.1539, allocations: 112.9 kB / 447.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.154, allocations: 176.3 kB / 447.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.701e-05/0.154, allocations: 102.5 kB / 447.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.154, allocations: 183.1 kB / 447.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.154, allocations: 106.3 kB / 447.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.1541, allocations: 111.7 kB / 448 MB, free: 42.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1541, allocations: 0 / 448 MB, free: 42.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.1542, allocations: 23.77 kB / 448 MB, free: 42.32 MB / 410.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 0.0001173/0.1543, allocations: 0.8154 MB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.1544, allocations: 21.8 kB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1544, allocations: 0 / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1544, allocations: 0 / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.1546, allocations: 458.2 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/0.1552, allocations: 1.593 MB / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.466e-05/0.1553, allocations: 77.28 kB / 451 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.1553, allocations: 9.938 kB / 451 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1553, allocations: 25.05 kB / 451 MB, free: 39.56 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1553, allocations: 4.703 kB / 451 MB, free: 39.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1682, allocations: 2.255 MB / 453.3 MB, free: 38.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/6.714, allocations: 8.188 kB / 453.3 MB, free: 38.69 MB / 410.7 MB " [Timeout remaining time 653] (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/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: 8.619582046754658]