Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.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.0008214/0.0008214, allocations: 91.61 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003706/0.003706, allocations: 160.4 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8551/0.8551, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 298.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.277e-05, allocations: 6.219 kB / 298.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002456/0.002479, allocations: 1.646 MB / 300.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.00328, allocations: 0.5042 MB / 300.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.003371, allocations: 0 / 300.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003492, allocations: 19.73 kB / 300.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.003698, allocations: 15.86 kB / 300.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003915, allocations: 55.86 kB / 300.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004109, allocations: 103.6 kB / 300.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004222, allocations: 25.22 kB / 300.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.00432, allocations: 59.83 kB / 300.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.004389, allocations: 35.89 kB / 300.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.004415, allocations: 8 kB / 300.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.004427, allocations: 4 kB / 300.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.004484, allocations: 19.91 kB / 300.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.004523, allocations: 27.92 kB / 300.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004654, allocations: 79.7 kB / 301 MB, free: 1.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004657, allocations: 7.875 kB / 301 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004658, allocations: 0 / 301 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004662, allocations: 0 / 301 MB, free: 1.004 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004819/0.005144, allocations: 333.9 kB / 301.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.005187, allocations: 15.98 kB / 301.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.005222, allocations: 38.73 kB / 301.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.005254, allocations: 16.84 kB / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.005475, allocations: 154 kB / 301.6 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.005488, allocations: 4.375 kB / 301.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.005516, allocations: 8.375 kB / 301.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.005709, allocations: 77.98 kB / 301.7 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005717, allocations: 8 kB / 301.7 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005727, allocations: 0 / 301.7 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005734, allocations: 7.969 kB / 301.7 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.005821, allocations: 35.98 kB / 301.7 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/0.1361, allocations: 305.7 kB / 302 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1362, allocations: 58.95 kB / 302.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.1363, allocations: 29.17 kB / 302.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1363, allocations: 6.969 kB / 302.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.1363, allocations: 33.25 kB / 302.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1363, allocations: 0 / 302.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.1365, allocations: 97.23 kB / 302.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1366, allocations: 53.28 kB / 302.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.1366, allocations: 151.9 kB / 302.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.1366, allocations: 27.61 kB / 302.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.1367, allocations: 111.9 kB / 302.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1367, allocations: 16.47 kB / 302.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1367, allocations: 24.02 kB / 302.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.1368, allocations: 322.7 kB / 302.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.1368, allocations: 22.09 kB / 302.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.1368, allocations: 18.02 kB / 303 MB, free: 15.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.1369, allocations: 55.34 kB / 303 MB, free: 15.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1369, allocations: 0 / 303 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.908e-05/0.137, allocations: 93.78 kB / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.137, allocations: 6.484 kB / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.137, allocations: 0 / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1371, allocations: 0.9375 kB / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1372, allocations: 40.89 kB / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1372, allocations: 0 / 303.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.1372, allocations: 7.469 kB / 303.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1373, allocations: 4.281 kB / 303.2 MB, free: 14.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.868e-05/0.1373, allocations: 120.7 kB / 303.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.1373, allocations: 13.3 kB / 303.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.1373, allocations: 17.58 kB / 303.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1373, allocations: 0 / 303.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1373, allocations: 1.781 kB / 303.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1373, allocations: 0.7031 kB / 303.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1375, allocations: 160.7 kB / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1375, allocations: 4.688 kB / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1375, allocations: 25.86 kB / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.1375, allocations: 0 / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1375, allocations: 5.672 kB / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.1375, allocations: 0 / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1375, allocations: 2.438 kB / 303.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1377, allocations: 194.9 kB / 303.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.1377, allocations: 20.41 kB / 303.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1377, allocations: 1.125 kB / 303.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.1378, allocations: 9.859 kB / 303.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.1378, allocations: 7.781 kB / 303.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1378, allocations: 2.531 kB / 303.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.1379, allocations: 110.7 kB / 303.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1379, allocations: 0 / 303.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.138, allocations: 12.53 kB / 303.9 MB, free: 14.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.0002632/0.1383, allocations: 0.7336 MB / 304.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.1384, allocations: 49.44 kB / 304.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.1384, allocations: 0 / 304.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.1384, allocations: 23.11 kB / 304.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1387, allocations: 25.11 kB / 304.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1397, allocations: 1.56 MB / 306.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.1398, allocations: 85.7 kB / 306.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.993e-05/0.1398, allocations: 7.672 kB / 306.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1398, allocations: 31.84 kB / 306.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1398, allocations: 7.719 kB / 306.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.1555, allocations: 3.028 MB / 309.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.758, allocations: 9.328 kB / 309.4 MB, free: 11.16 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.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.322938392870128]