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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 183.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 51.94 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1321, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00571/0.1379, allocations: 1.677 MB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1398, allocations: 0.5236 MB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.14, allocations: 0 / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1403, allocations: 19.86 kB / 377.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1406, allocations: 23.78 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.141, allocations: 47.89 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1414, allocations: 99.67 kB / 377.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.1416, allocations: 37.09 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1418, allocations: 39.8 kB / 377.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.142, allocations: 47.77 kB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.142, allocations: 4 kB / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.1421, allocations: 8 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.1422, allocations: 19.92 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.1423, allocations: 39.73 kB / 377.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1426, allocations: 91.58 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1426, allocations: 0 / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.249e-06/0.1426, allocations: 0 / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1426, allocations: 7.938 kB / 377.8 MB, free: 1.906 MB / 318.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.0009306/0.1436, allocations: 403 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1436, allocations: 8.031 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1437, allocations: 12.84 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.1441, allocations: 200.7 kB / 378.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1442, allocations: 8.375 kB / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.1442, allocations: 20.06 kB / 378.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1445, allocations: 73.66 kB / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1446, allocations: 0 / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.1446, allocations: 8 kB / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1446, allocations: 0 / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.1449, allocations: 43.91 kB / 378.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.1458, allocations: 411.9 kB / 379 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1461, allocations: 58.58 kB / 379 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1462, allocations: 28.89 kB / 379.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1463, allocations: 0 / 379.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1463, allocations: 38.5 kB / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.295e-06/0.1463, allocations: 0 / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005549/0.1469, allocations: 97.52 kB / 379.2 MB, free: 352 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.147, allocations: 55.41 kB / 379.2 MB, free: 284 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1472, allocations: 145.8 kB / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1473, allocations: 25.7 kB / 379.4 MB, free: 96 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2448/0.392, allocations: 105.1 kB / 379.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.3922, allocations: 21.73 kB / 379.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.3923, allocations: 23.08 kB / 379.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.3924, allocations: 320.2 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3925, allocations: 19.81 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/0.3926, allocations: 22.89 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3927, allocations: 47.2 kB / 380 MB, free: 12.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3927, allocations: 1.562 kB / 380 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002158/0.3929, allocations: 95.39 kB / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.393, allocations: 9.375 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.393, allocations: 0.875 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.393, allocations: 1.938 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.3933, allocations: 40.81 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3933, allocations: 1.375 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.3933, allocations: 3.406 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3934, allocations: 4.75 kB / 380.1 MB, free: 12.78 MB / 318.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.395e-05/0.3934, allocations: 119.8 kB / 380.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.3935, allocations: 11.31 kB / 380.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3935, allocations: 12.41 kB / 380.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3935, allocations: 7.109 kB / 380.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3936, allocations: 4.25 kB / 380.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3936, allocations: 1.031 kB / 380.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.3938, allocations: 192.6 kB / 380.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3938, allocations: 1.375 kB / 380.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3939, allocations: 24.73 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.394, allocations: 5.953 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.394, allocations: 5.531 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.394, allocations: 3.938 kB / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.394, allocations: 0 / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3943, allocations: 198.2 kB / 380.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.3943, allocations: 84.81 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3944, allocations: 1.453 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.3945, allocations: 11.3 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3945, allocations: 3.953 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3945, allocations: 5.281 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.3946, allocations: 108.4 kB / 380.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3946, allocations: 0 / 380.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.3948, allocations: 17.72 kB / 380.9 MB, free: 12.16 MB / 318.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 9.798e-05/0.3949, allocations: 98.8 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3951, allocations: 53.98 kB / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3951, allocations: 0 / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.3952, allocations: 24.89 kB / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3956, allocations: 23.66 kB / 381.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3961, allocations: 270.7 kB / 381.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3963, allocations: 0.7034 MB / 382.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.3963, allocations: 9.953 kB / 382.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.3964, allocations: 16.53 kB / 382.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3964, allocations: 0 / 382.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003846/0.4002, allocations: 0.9159 MB / 383 MB, free: 11.13 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) 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) Reference file matches