Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.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.001492/0.001492, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001585/0.001585, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.416/1.416, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 59.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1003, allocations: 53.33 MB / 426.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002891/0.1032, allocations: 1.707 MB / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1042, allocations: 0.5532 MB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.1042, allocations: 0 / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1043, allocations: 11.86 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1045, allocations: 27.8 kB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1047, allocations: 59.86 kB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1049, allocations: 95.7 kB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.105, allocations: 29.09 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1051, allocations: 51.72 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.1052, allocations: 47.77 kB / 429.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1052, allocations: 4 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.1053, allocations: 12 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.1053, allocations: 23.92 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1054, allocations: 43.67 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.1055, allocations: 91.52 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1055, allocations: 0 / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1055, allocations: 0 / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1056, allocations: 0 / 429.4 MB, free: 2.254 MB / 350.1 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.0005613/0.1061, allocations: 411 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1062, allocations: 8.031 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1062, allocations: 50.67 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1063, allocations: 24.83 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1066, allocations: 208.7 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1066, allocations: 4.375 kB / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1066, allocations: 11.94 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1068, allocations: 77.66 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1068, allocations: 3.984 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1068, allocations: 3.938 kB / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1068, allocations: 4 kB / 430.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.107, allocations: 43.97 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.1075, allocations: 408 kB / 430.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1077, allocations: 62.62 kB / 430.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.1077, allocations: 32.86 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1078, allocations: 7.922 kB / 430.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1078, allocations: 30.56 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1078, allocations: 0 / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002762/0.1081, allocations: 97.5 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1081, allocations: 55.41 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1082, allocations: 146.4 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1083, allocations: 29.7 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.1083, allocations: 104.1 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1083, allocations: 23.94 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1084, allocations: 21.7 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1085, allocations: 322.8 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.1086, allocations: 19.97 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.1086, allocations: 23.98 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1088, allocations: 52.84 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1088, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001633/0.1089, allocations: 93.5 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1089, allocations: 4 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1089, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.109, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1092, allocations: 35.97 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1092, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.1092, allocations: 11.95 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1092, allocations: 4 kB / 431.8 MB, free: 15.61 MB / 366.1 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 8.891e-05/0.1093, allocations: 113.8 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1094, allocations: 11.89 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.1094, allocations: 12.3 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1094, allocations: 4.25 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1094, allocations: 3.938 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1094, allocations: 4 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1096, allocations: 193.6 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1096, allocations: 7.938 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1097, allocations: 19.98 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1098, allocations: 3.984 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1098, allocations: 4 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1098, allocations: 0 / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1098, allocations: 4 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.11, allocations: 191.5 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1101, allocations: 97 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1101, allocations: 4 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.1102, allocations: 4 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1102, allocations: 3.984 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1102, allocations: 7.938 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.1103, allocations: 110.2 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1103, allocations: 0 / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1105, allocations: 19.95 kB / 432.6 MB, free: 14.71 MB / 366.1 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.0005666/0.1111, allocations: 0.74 MB / 433.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1113, allocations: 55.83 kB / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1113, allocations: 0 / 433.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.1113, allocations: 23.98 kB / 433.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1117, allocations: 26.39 kB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1134, allocations: 1.574 MB / 435 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1137, allocations: 0.7002 MB / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1137, allocations: 15.98 kB / 435.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1138, allocations: 27.44 kB / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1138, allocations: 0 / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1396, allocations: 2.335 MB / 438.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.826, allocations: 8 kB / 438.1 MB, free: 9.133 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.327609348110855]