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.0008308/0.0008308, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008534/0.0008534, 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.9201/0.9201, allocations: 177 MB / 204.1 MB, free: 5.742 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.2536/0.2536, 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 2.324e-06/2.324e-06, allocations: 4 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.58e-05, allocations: 2.281 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.1765/0.1765, allocations: 1.665 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.1768, allocations: 74.58 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.1769, allocations: 2.938 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.462e-05/0.1769, allocations: 19.7 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.177, allocations: 27.66 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.841e-05/0.1771, allocations: 23.2 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1772, allocations: 103.9 kB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1773, allocations: 37.8 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/0.1774, allocations: 65.83 kB / 444.1 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1775, allocations: 29.19 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1775, allocations: 14.19 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.1775, allocations: 14.62 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.1775, allocations: 30.42 kB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1776, allocations: 37.39 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1777, allocations: 122.4 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1777, allocations: 0 / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1777, allocations: 0 / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1777, allocations: 0 / 444.4 MB, free: 43.17 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.0003886/0.1781, allocations: 328.6 kB / 444.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1781, allocations: 10.97 kB / 444.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.1782, allocations: 43.84 kB / 444.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1782, allocations: 10.7 kB / 444.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.1783, allocations: 121 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1783, allocations: 12.67 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1783, allocations: 9.812 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1785, allocations: 131.9 kB / 445 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1785, allocations: 192 / 445 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1785, allocations: 3 kB / 445 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1785, allocations: 7.312 kB / 445 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.1786, allocations: 69.36 kB / 445.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.1791, allocations: 0.6632 MB / 445.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.1791, allocations: 171.8 kB / 445.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.1791, allocations: 80.14 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1791, allocations: 75.28 kB / 446.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.1791, allocations: 111.7 kB / 446.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1791, allocations: 0 / 446.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.364e-05/0.1792, allocations: 32.78 kB / 446.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.1792, allocations: 137.1 kB / 446.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.1793, allocations: 155.1 kB / 446.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-06/0.1793, allocations: 29.64 kB / 446.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1793, allocations: 125.1 kB / 446.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.1793, allocations: 0 / 446.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1794, allocations: 26.22 kB / 446.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.1794, allocations: 321.5 kB / 447 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.1794, allocations: 6.844 kB / 447 MB, free: 40.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.1794, allocations: 40.78 kB / 447.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.1795, allocations: 55.25 kB / 447.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1795, allocations: 0 / 447.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001057/0.1796, allocations: 76.22 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1796, allocations: 5.906 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1796, allocations: 2.969 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1796, allocations: 192 / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.1797, allocations: 19.91 kB / 447.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1797, allocations: 1.875 kB / 447.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.1797, allocations: 16.47 kB / 447.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1797, allocations: 5.688 kB / 447.2 MB, free: 40.74 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.737e-05/0.1798, allocations: 194.2 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1798, allocations: 111.6 kB / 447.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.1798, allocations: 114.7 kB / 447.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.1798, allocations: 180.7 kB / 447.8 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.1798, allocations: 180.2 kB / 448 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.1798, allocations: 181.6 kB / 448.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.18, allocations: 416 kB / 448.6 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.18, allocations: 101 kB / 448.7 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.18, allocations: 110.9 kB / 448.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.18, allocations: 180.3 kB / 449 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.18, allocations: 179.3 kB / 449.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.18, allocations: 183.5 kB / 449.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/0.1801, allocations: 182.4 kB / 449.5 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.399e-05/0.1801, allocations: 309.7 kB / 449.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.1801, allocations: 118.7 kB / 449.9 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1802, allocations: 183.1 kB / 450.1 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.1802, allocations: 110.5 kB / 450.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.1802, allocations: 183 kB / 450.4 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1802, allocations: 104.1 kB / 450.5 MB, free: 37.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.1803, allocations: 118 kB / 450.6 MB, free: 37.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1803, allocations: 0 / 450.6 MB, free: 37.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.1804, allocations: 17.19 kB / 450.6 MB, free: 37.33 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.0001422/0.1806, allocations: 0.8064 MB / 451.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.1806, allocations: 20.44 kB / 451.4 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1806, allocations: 384 / 451.4 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.1806, allocations: 4 kB / 451.4 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1808, allocations: 464.3 kB / 451.9 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.1816, allocations: 1.585 MB / 453.5 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.1816, allocations: 78.16 kB / 453.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.1816, allocations: 10.22 kB / 453.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1817, allocations: 24.45 kB / 453.6 MB, free: 34.56 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1817, allocations: 3.938 kB / 453.6 MB, free: 34.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.1975, allocations: 2.242 MB / 455.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.814, allocations: 4.938 kB / 455.8 MB, free: 33.66 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.795471963472664]