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.0008577/0.0008577, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001283/0.001283, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8998/0.8998, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2588/0.2588, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.093e-05, allocations: 8.531 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.162/0.162, allocations: 1.666 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.1622, allocations: 73.17 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.1623, allocations: 1.625 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.1623, allocations: 19.42 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.1624, allocations: 24.39 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.031e-05/0.1624, allocations: 24.66 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.1625, allocations: 107.8 kB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1627, allocations: 41.92 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1627, allocations: 63.09 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.1628, allocations: 32.89 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1628, allocations: 11.66 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.1628, allocations: 15.34 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1628, allocations: 23.11 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1628, allocations: 35.7 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.709e-05/0.1629, allocations: 124.5 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1629, allocations: 0 / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1629, allocations: 0 / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1629, allocations: 0 / 444.4 MB, free: 43.18 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.0002893/0.1632, allocations: 333.1 kB / 444.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1633, allocations: 8.656 kB / 444.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.54e-05/0.1633, allocations: 45.45 kB / 444.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.1633, allocations: 10.3 kB / 444.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.287e-05/0.1634, allocations: 122 kB / 444.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1634, allocations: 10.08 kB / 444.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1634, allocations: 8.75 kB / 444.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1635, allocations: 128.6 kB / 445 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1635, allocations: 192 / 445 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1635, allocations: 7.312 kB / 445 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1635, allocations: 6.938 kB / 445 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.1636, allocations: 64.14 kB / 445.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.164, allocations: 0.6678 MB / 445.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.079e-05/0.1641, allocations: 172 kB / 445.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-06/0.1641, allocations: 84.02 kB / 446 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1641, allocations: 75.28 kB / 446.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.1641, allocations: 108.8 kB / 446.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1641, allocations: 0 / 446.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.446e-05/0.1641, allocations: 36.5 kB / 446.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.1642, allocations: 126.7 kB / 446.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.1642, allocations: 156.3 kB / 446.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-06/0.1642, allocations: 25.7 kB / 446.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1643, allocations: 127.8 kB / 446.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.1643, allocations: 0 / 446.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1643, allocations: 26.58 kB / 446.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.631e-05/0.1643, allocations: 320.9 kB / 447 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.1643, allocations: 8.219 kB / 447 MB, free: 40.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.1644, allocations: 44.53 kB / 447.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.1644, allocations: 56.09 kB / 447.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1644, allocations: 0 / 447.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.043e-05/0.1645, allocations: 74.16 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1645, allocations: 5.906 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1645, allocations: 2.938 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1645, allocations: 2.906 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.1646, allocations: 13.47 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1646, allocations: 6.062 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.1646, allocations: 10.8 kB / 447.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1646, allocations: 3 kB / 447.2 MB, free: 40.75 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 3.62e-05/0.1646, allocations: 198.1 kB / 447.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.1647, allocations: 114.4 kB / 447.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.1647, allocations: 110.8 kB / 447.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.1647, allocations: 185.6 kB / 447.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.1647, allocations: 179.1 kB / 448 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.1647, allocations: 185.6 kB / 448.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.73e-05/0.1648, allocations: 409.4 kB / 448.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.1648, allocations: 108.3 kB / 448.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.1648, allocations: 107.8 kB / 448.8 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.1648, allocations: 180.3 kB / 449 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1648, allocations: 179.1 kB / 449.1 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.1648, allocations: 187.1 kB / 449.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.1649, allocations: 179 kB / 449.5 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.427e-05/0.1649, allocations: 309.5 kB / 449.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1649, allocations: 118.4 kB / 449.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1649, allocations: 183.3 kB / 450.1 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.165, allocations: 103.7 kB / 450.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.165, allocations: 186.3 kB / 450.4 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.165, allocations: 108.9 kB / 450.5 MB, free: 37.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.165, allocations: 112.6 kB / 450.6 MB, free: 37.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.165, allocations: 0 / 450.6 MB, free: 37.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.1652, allocations: 17.97 kB / 450.6 MB, free: 37.34 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.0001131/0.1653, allocations: 0.8084 MB / 451.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.1653, allocations: 22 kB / 451.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1653, allocations: 0 / 451.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.1653, allocations: 384 / 451.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1655, allocations: 462.3 kB / 451.9 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.1661, allocations: 1.585 MB / 453.5 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.1661, allocations: 79.53 kB / 453.6 MB, free: 34.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.1661, allocations: 5.875 kB / 453.6 MB, free: 34.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1662, allocations: 28.3 kB / 453.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1662, allocations: 3.938 kB / 453.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.1799, allocations: 2.247 MB / 455.8 MB, free: 33.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/6.8, allocations: 11.59 kB / 455.9 MB, free: 33.67 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gyrator.v1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.87956249434501]