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.001757/0.001757, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002414/0.002414, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2738/0.2738, allocations: 46.96 MB / 360.9 MB, free: 4.016 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+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.00229/0.00229, allocations: 59.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3276, allocations: 66.04 MB / 0.5606 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003768/0.3314, allocations: 1.67 MB / 0.5622 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.3317, allocations: 75.73 kB / 0.5623 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.3318, allocations: 4 kB / 0.5623 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.3318, allocations: 15.84 kB / 0.5623 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3319, allocations: 23.78 kB / 0.5623 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.3321, allocations: 23.97 kB / 0.5623 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3323, allocations: 103.5 kB / 0.5624 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3325, allocations: 45.25 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.3325, allocations: 43.86 kB / 0.5625 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3327, allocations: 39.83 kB / 0.5626 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.3327, allocations: 12 kB / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.3327, allocations: 12 kB / 0.5626 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3328, allocations: 23.92 kB / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.3328, allocations: 39.81 kB / 0.5626 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.333, allocations: 123.5 kB / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3331, allocations: 0 / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3331, allocations: 0 / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3331, allocations: 0 / 0.5628 GB, free: 2.129 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.000615/0.3337, allocations: 322.2 kB / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3337, allocations: 12.02 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.3338, allocations: 46.75 kB / 0.5631 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3338, allocations: 16.84 kB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.334, allocations: 118.4 kB / 0.5633 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.334, allocations: 12.61 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.334, allocations: 12.38 kB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3342, allocations: 121.6 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3343, allocations: 3.938 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3343, allocations: 8 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3343, allocations: 7.984 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3344, allocations: 63.92 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.3353, allocations: 0.668 MB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3354, allocations: 177.1 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.3355, allocations: 84.12 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.3355, allocations: 75.28 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.3356, allocations: 105.8 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3356, allocations: 0 / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.489e-05/0.3357, allocations: 37.58 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.3358, allocations: 126.7 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3359, allocations: 160.5 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.336, allocations: 25.7 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3361, allocations: 127.8 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.3361, allocations: 3.938 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3361, allocations: 21.72 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3363, allocations: 322.8 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.3363, allocations: 4 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.3364, allocations: 45.16 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.3364, allocations: 61.02 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3364, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001728/0.3366, allocations: 77.52 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3366, allocations: 4 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3366, allocations: 0 / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3367, allocations: 4.188 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.3367, allocations: 12 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3367, allocations: 4 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3368, allocations: 7.891 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3368, allocations: 8 kB / 0.5656 GB, free: 15.01 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.0001544/0.337, allocations: 201 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.337, allocations: 110 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.3371, allocations: 112.6 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.106e-05/0.3372, allocations: 184.2 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.429e-05/0.3373, allocations: 184.2 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.161e-05/0.3374, allocations: 184.1 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3377, allocations: 404.3 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.633e-05/0.3378, allocations: 105 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.3378, allocations: 104.9 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-05/0.3379, allocations: 180.4 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.338, allocations: 188.2 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.604e-05/0.3381, allocations: 180.4 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.099e-05/0.3382, allocations: 180.3 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.3384, allocations: 319.6 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.3385, allocations: 112.9 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.3386, allocations: 180.3 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3387, allocations: 113 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.3388, allocations: 180.2 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.3388, allocations: 108.9 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.3389, allocations: 107.3 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3389, allocations: 0 / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3392, allocations: 15.94 kB / 0.5689 GB, free: 11.43 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.0005142/0.3397, allocations: 0.8125 MB / 0.5696 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.3398, allocations: 19.94 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3398, allocations: 384 / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.3398, allocations: 4 kB / 0.5697 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3402, allocations: 467.6 kB / 0.5701 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3419, allocations: 1.584 MB / 0.5717 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.3419, allocations: 81.31 kB / 0.5717 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.342, allocations: 8 kB / 0.5717 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.342, allocations: 27.42 kB / 0.5718 GB, free: 8.273 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.342, allocations: 0 / 0.5718 GB, free: 8.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3708, allocations: 2.109 MB / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.55, allocations: 8 kB / 0.5738 GB, free: 6.281 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.535598283167928]