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.001807/0.001807, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002276/0.002276, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.476/1.476, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2275/0.2275, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1525, allocations: 65.99 MB / 0.5553 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003435/0.1559, allocations: 1.742 MB / 0.5571 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.1561, allocations: 71.73 kB / 0.5571 GB, free: 4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.1562, allocations: 4 kB / 0.5571 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.412e-05/0.1562, allocations: 15.86 kB / 0.5571 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.1563, allocations: 27.7 kB / 0.5572 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.803e-05/0.1564, allocations: 27.97 kB / 0.5572 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1565, allocations: 103.5 kB / 0.5573 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1567, allocations: 43.95 kB / 0.5573 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1567, allocations: 39.86 kB / 0.5574 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.1568, allocations: 51.77 kB / 0.5574 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1569, allocations: 12 kB / 0.5574 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.1569, allocations: 8 kB / 0.5574 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.1569, allocations: 23.92 kB / 0.5575 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.157, allocations: 51.8 kB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1571, allocations: 119.5 kB / 0.5576 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1571, allocations: 4 kB / 0.5576 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1571, allocations: 0 / 0.5576 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1572, allocations: 0 / 0.5576 GB, free: 3.477 MB / 414.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.0005803/0.1577, allocations: 403.3 kB / 0.558 GB, free: 3.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1578, allocations: 8.031 kB / 0.558 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.1578, allocations: 42.73 kB / 0.5581 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1579, allocations: 20.84 kB / 0.5581 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.158, allocations: 168.3 kB / 0.5582 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1581, allocations: 12.61 kB / 0.5583 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1581, allocations: 8.375 kB / 0.5583 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1583, allocations: 135.9 kB / 0.5584 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1583, allocations: 7.875 kB / 0.5584 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1584, allocations: 4 kB / 0.5584 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1584, allocations: 4 kB / 0.5584 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1585, allocations: 59.97 kB / 0.5585 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.1594, allocations: 0.7235 MB / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1595, allocations: 169.1 kB / 0.5593 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.1596, allocations: 84.14 kB / 0.5594 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.1596, allocations: 79.28 kB / 0.5595 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.1597, allocations: 113.7 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1597, allocations: 0 / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.414e-05/0.1598, allocations: 29.7 kB / 0.5596 GB, free: 1.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.1598, allocations: 130.7 kB / 0.5597 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.16, allocations: 151.2 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.16, allocations: 25.7 kB / 0.5599 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.1601, allocations: 127.9 kB / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.1601, allocations: 0 / 0.56 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1602, allocations: 25.66 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1604, allocations: 318.8 kB / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.1604, allocations: 8 kB / 0.5604 GB, free: 416 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.1604, allocations: 53.08 kB / 0.5604 GB, free: 344 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.1605, allocations: 49.09 kB / 0.5605 GB, free: 276 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1605, allocations: 0 / 0.5605 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001513/0.1607, allocations: 77.5 kB / 0.5605 GB, free: 192 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1607, allocations: 8 kB / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1607, allocations: 0 / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1607, allocations: 0 / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.1608, allocations: 16.11 kB / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1608, allocations: 4 kB / 0.5606 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.1608, allocations: 19.83 kB / 0.5606 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1608, allocations: 4 kB / 0.5606 GB, free: 140 kB / 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.0001463/0.161, allocations: 199.4 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.1611, allocations: 108.9 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-05/0.1611, allocations: 124.6 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-05/0.1612, allocations: 180.3 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.593e-05/0.1613, allocations: 176.3 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.206e-05/0.1614, allocations: 188.2 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1618, allocations: 437.2 kB / 0.5619 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-05/0.1618, allocations: 104.9 kB / 0.562 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.1619, allocations: 113 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-05/0.162, allocations: 180.2 kB / 0.5623 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.43e-05/0.1621, allocations: 180.2 kB / 0.5625 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.999e-05/0.1621, allocations: 180.3 kB / 0.5627 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.341e-05/0.1622, allocations: 184.2 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.1624, allocations: 311.7 kB / 0.5631 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1625, allocations: 193.9 kB / 0.5633 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.1626, allocations: 180.3 kB / 0.5635 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1628, allocations: 108.9 kB / 0.5636 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.1628, allocations: 184.3 kB / 0.5638 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.163, allocations: 108.9 kB / 0.5639 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.163, allocations: 109.4 kB / 0.564 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.163, allocations: 0 / 0.564 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1633, allocations: 23.94 kB / 0.564 GB, free: 12.42 MB / 430.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.0004952/0.1638, allocations: 0.8087 MB / 0.5648 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.1639, allocations: 15.92 kB / 0.5648 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1639, allocations: 384 / 0.5648 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1639, allocations: 4 kB / 0.5648 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1643, allocations: 463.6 kB / 0.5653 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1659, allocations: 1.581 MB / 0.5668 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1663, allocations: 0.6963 MB / 0.5675 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.1663, allocations: 11.92 kB / 0.5675 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.1664, allocations: 19.44 kB / 0.5675 GB, free: 8.656 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1664, allocations: 0 / 0.5675 GB, free: 8.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1903, allocations: 1.611 MB / 0.5691 GB, free: 7.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.265, allocations: 9.047 kB / 0.5691 GB, free: 7.121 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] 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: 11.20236553484574]