Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 111.7 kB / 17.06 MB, free: 6.016 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.001275/0.001275, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00275/0.2435, allocations: 1.688 MB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.2444, allocations: 495.2 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.2445, allocations: 0 / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2446, allocations: 15.8 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.2448, allocations: 23.81 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.245, allocations: 47.92 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2451, allocations: 91.7 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2452, allocations: 41.08 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2454, allocations: 47.78 kB / 402.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.2455, allocations: 39.72 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2455, allocations: 8 kB / 402.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.2455, allocations: 8 kB / 402.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.2456, allocations: 23.91 kB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.2456, allocations: 39.73 kB / 402.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2458, allocations: 86.67 kB / 402.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2458, allocations: 0 / 402.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2458, allocations: 4 kB / 402.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2458, allocations: 3.938 kB / 402.9 MB, free: 6.184 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.0006057/0.2464, allocations: 418.9 kB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2465, allocations: 8.031 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.2465, allocations: 34.75 kB / 403.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.2466, allocations: 12.89 kB / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.2468, allocations: 210.1 kB / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2469, allocations: 12 kB / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.2469, allocations: 4 kB / 403.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2471, allocations: 81.61 kB / 403.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2471, allocations: 0 / 403.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2471, allocations: 3.984 kB / 403.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2471, allocations: 0 / 403.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2472, allocations: 43.92 kB / 403.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.2478, allocations: 412 kB / 404.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.248, allocations: 62.53 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.2481, allocations: 28.89 kB / 404.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2481, allocations: 7.938 kB / 404.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2481, allocations: 30.56 kB / 404.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.2482, allocations: 4 kB / 404.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003064/0.2485, allocations: 89.62 kB / 404.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2485, allocations: 59.34 kB / 404.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2487, allocations: 143.7 kB / 404.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2487, allocations: 29.7 kB / 404.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.2488, allocations: 108.2 kB / 404.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2488, allocations: 19.8 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.2489, allocations: 29.7 kB / 404.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.249, allocations: 318.8 kB / 405 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.2491, allocations: 16 kB / 405 MB, free: 3.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.2491, allocations: 19.98 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2493, allocations: 52.78 kB / 405.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2493, allocations: 0 / 405.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001762/0.2495, allocations: 85.62 kB / 405.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2495, allocations: 4 kB / 405.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2495, allocations: 12.42 kB / 405.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2495, allocations: 0 / 405.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.2497, allocations: 39.97 kB / 405.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2498, allocations: 3.984 kB / 405.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2498, allocations: 7.953 kB / 405.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.2498, allocations: 0 / 405.2 MB, free: 3.578 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 9.282e-05/0.2499, allocations: 125.8 kB / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.25, allocations: 11.94 kB / 405.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.25, allocations: 16.31 kB / 405.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.25, allocations: 3.938 kB / 405.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.25, allocations: 0 / 405.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.25, allocations: 3.938 kB / 405.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2503, allocations: 201.5 kB / 405.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2503, allocations: 0 / 405.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2504, allocations: 23.97 kB / 405.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2504, allocations: 0 / 405.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2505, allocations: 4 kB / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2505, allocations: 0 / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2505, allocations: 7.938 kB / 405.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.2508, allocations: 203.4 kB / 405.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.2509, allocations: 85.02 kB / 405.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2509, allocations: 4.031 kB / 405.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.251, allocations: 0 / 405.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.251, allocations: 11.98 kB / 405.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.251, allocations: 64 / 405.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.2511, allocations: 114.2 kB / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2511, allocations: 0 / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.2514, allocations: 15.94 kB / 406 MB, free: 2.664 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 0.0006104/0.252, allocations: 0.7357 MB / 406.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.2522, allocations: 52.05 kB / 406.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2522, allocations: 0 / 406.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.2522, allocations: 28.05 kB / 406.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2526, allocations: 22.77 kB / 406.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.2545, allocations: 1.565 MB / 408.4 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2548, allocations: 0.7041 MB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.2549, allocations: 4 kB / 409.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.255, allocations: 35.36 kB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.255, allocations: 3.938 kB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.2794, allocations: 2.288 MB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.092, allocations: 7.922 kB / 411.5 MB, free: 13.16 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches