Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001371/0.001371, allocations: 109 kB / 18.49 MB, free: 4.602 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.001543/0.001543, allocations: 216.7 kB / 21.46 MB, free: 1.648 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.45/1.45, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.93 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 76.22 kB / 0.4916 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1216, allocations: 66.05 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003966/0.1256, allocations: 1.748 MB / 0.5578 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.1258, allocations: 67.73 kB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.1259, allocations: 4 kB / 0.5579 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.1259, allocations: 23.8 kB / 0.5579 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.126, allocations: 19.78 kB / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.564e-05/0.1261, allocations: 27.97 kB / 0.558 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1263, allocations: 99.59 kB / 0.5581 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1265, allocations: 47.94 kB / 0.5581 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.1265, allocations: 39.86 kB / 0.5581 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1266, allocations: 47.78 kB / 0.5582 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.1266, allocations: 12 kB / 0.5582 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.613e-05/0.1267, allocations: 8 kB / 0.5582 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.1267, allocations: 23.92 kB / 0.5582 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.1268, allocations: 47.8 kB / 0.5583 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.127, allocations: 119.5 kB / 0.5584 GB, free: 3.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.127, allocations: 7.984 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.127, allocations: 0 / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.127, allocations: 0 / 0.5584 GB, free: 3.18 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.0006457/0.1277, allocations: 403.3 kB / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1277, allocations: 8.031 kB / 0.5588 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.1277, allocations: 4.422 kB / 0.5588 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.1278, allocations: 42.73 kB / 0.5588 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.1278, allocations: 12.84 kB / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.128, allocations: 180.3 kB / 0.559 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1281, allocations: 4.609 kB / 0.559 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1281, allocations: 12.38 kB / 0.559 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1284, allocations: 141.2 kB / 0.5592 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1284, allocations: 0 / 0.5592 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1284, allocations: 4 kB / 0.5592 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1284, allocations: 4 kB / 0.5592 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1286, allocations: 59.97 kB / 0.5592 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.1295, allocations: 0.7274 MB / 0.5599 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.1296, allocations: 173.1 kB / 0.5601 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1296, allocations: 88.08 kB / 0.5602 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.1296, allocations: 83.22 kB / 0.5603 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.1297, allocations: 105.8 kB / 0.5604 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.1297, allocations: 0 / 0.5604 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.853e-05/0.1298, allocations: 29.7 kB / 0.5604 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.1298, allocations: 126.7 kB / 0.5605 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.13, allocations: 163 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.13, allocations: 25.7 kB / 0.5607 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.1301, allocations: 115.9 kB / 0.5608 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.1301, allocations: 4 kB / 0.5608 GB, free: 468 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1302, allocations: 21.67 kB / 0.5608 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1303, allocations: 318.8 kB / 0.5611 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1303, allocations: 4 kB / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.1304, allocations: 57.08 kB / 0.5612 GB, free: 32 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.1305, allocations: 49.09 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1305, allocations: 8 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001624/0.1306, allocations: 69.56 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1307, allocations: 4 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1307, allocations: 4 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1307, allocations: 0 / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1307, allocations: 8 kB / 0.5613 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1308, allocations: 11.92 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.1308, allocations: 20 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1308, allocations: 12 kB / 0.5614 GB, free: 15.82 MB / 430.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.0001272/0.131, allocations: 189.1 kB / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.131, allocations: 108.9 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.584e-05/0.1311, allocations: 120.6 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.46e-05/0.1312, allocations: 184.3 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.643e-05/0.1313, allocations: 184.2 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.021e-05/0.1314, allocations: 180.3 kB / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.1317, allocations: 437.2 kB / 0.5627 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-05/0.1318, allocations: 104.9 kB / 0.5628 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.1318, allocations: 105 kB / 0.5629 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.1319, allocations: 188.2 kB / 0.5631 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.132, allocations: 180.3 kB / 0.5633 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.018e-05/0.1321, allocations: 176.3 kB / 0.5634 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.101e-05/0.1322, allocations: 188.1 kB / 0.5636 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1323, allocations: 315.6 kB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1324, allocations: 190 kB / 0.5641 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.1325, allocations: 176.3 kB / 0.5643 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1326, allocations: 108.9 kB / 0.5644 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.1327, allocations: 192.1 kB / 0.5646 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.1328, allocations: 108.9 kB / 0.5647 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.698e-05/0.1329, allocations: 105 kB / 0.5648 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1329, allocations: 4 kB / 0.5648 GB, free: 12.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1331, allocations: 23.94 kB / 0.5648 GB, free: 12.11 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.0004966/0.1336, allocations: 0.797 MB / 0.5656 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1338, allocations: 20.25 kB / 0.5656 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1338, allocations: 4.062 kB / 0.5656 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1338, allocations: 0 / 0.5656 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.1342, allocations: 471.5 kB / 0.566 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1359, allocations: 1.582 MB / 0.5676 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1362, allocations: 0.7002 MB / 0.5683 GB, free: 8.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.1362, allocations: 4 kB / 0.5683 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.1363, allocations: 23.42 kB / 0.5683 GB, free: 8.352 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1363, allocations: 0 / 0.5683 GB, free: 8.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.1533, allocations: 1.647 MB / 0.5699 GB, free: 6.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.07, allocations: 4.062 kB / 0.5699 GB, free: 6.797 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.02515919500729]