Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.001139/0.001139, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.00114/0.00114, allocations: 190 kB / 18.07 MB, free: 5.414 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.173/1.173, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001028/0.001028, allocations: 47.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07274/0.07377, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002946/0.07675, allocations: 2.306 MB / 329 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.07786, allocations: 0.8083 MB / 329.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.07789, allocations: 4 kB / 329.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.811e-05/0.07798, allocations: 0 / 329.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.0781, allocations: 11.98 kB / 329.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.07854, allocations: 167.7 kB / 330 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.07861, allocations: 31.8 kB / 330 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.866e-05/0.07864, allocations: 3.938 kB / 330 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.07868, allocations: 7.984 kB / 330 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.07875, allocations: 19.92 kB / 330 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.07877, allocations: 0 / 330 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.07896, allocations: 139.8 kB / 330.2 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.07898, allocations: 8 kB / 330.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.079, allocations: 7.922 kB / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.07922, allocations: 139.7 kB / 330.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.07923, allocations: 0 / 330.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.07924, allocations: 0 / 330.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.07924, allocations: 0 / 330.3 MB, free: 1.109 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003429/0.07959, allocations: 351.7 kB / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.07963, allocations: 12.03 kB / 330.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.07966, allocations: 30.75 kB / 330.7 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.07969, allocations: 8.828 kB / 330.7 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.07984, allocations: 168.4 kB / 330.9 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.07986, allocations: 384 / 330.9 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.07987, allocations: 384 / 330.9 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.354e-05/0.07995, allocations: 41.81 kB / 330.9 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.07996, allocations: 0 / 330.9 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.07997, allocations: 0 / 330.9 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.07998, allocations: 0 / 330.9 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.08, allocations: 11.94 kB / 330.9 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.08029, allocations: 404 kB / 331.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.08036, allocations: 165.1 kB / 331.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.0804, allocations: 84.08 kB / 331.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.08042, allocations: 75.28 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.08051, allocations: 117.8 kB / 331.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.08051, allocations: 0 / 331.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.076e-05/0.08058, allocations: 29.61 kB / 331.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.08064, allocations: 156.4 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.08073, allocations: 113.8 kB / 332.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.08075, allocations: 25.7 kB / 332.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.08079, allocations: 88.12 kB / 332.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.0808, allocations: 0 / 332.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.08084, allocations: 21.72 kB / 332.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.08093, allocations: 318.8 kB / 332.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.08094, allocations: 3.984 kB / 332.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.08096, allocations: 4 kB / 332.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.08099, allocations: 16.8 kB / 332.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.081, allocations: 0 / 332.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.475e-05/0.08109, allocations: 37.69 kB / 332.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.0811, allocations: 7.938 kB / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.08111, allocations: 4.125 kB / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.08112, allocations: 0 / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.08117, allocations: 4 kB / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.08118, allocations: 0 / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.08122, allocations: 3.906 kB / 332.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.08124, allocations: 4 kB / 332.6 MB, free: 14.61 MB / 286.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 (1): * Single equations (assignments): 1 * 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 7.554e-05/0.08132, allocations: 189.1 kB / 332.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.08138, allocations: 112.9 kB / 332.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.08142, allocations: 112.3 kB / 333 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/0.08148, allocations: 184.2 kB / 333.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/0.08154, allocations: 180.3 kB / 333.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-05/0.08159, allocations: 176.3 kB / 333.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.08179, allocations: 417.1 kB / 333.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.08183, allocations: 109 kB / 334 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.08186, allocations: 108.9 kB / 334.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.762e-05/0.08191, allocations: 180.3 kB / 334.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.08196, allocations: 176.3 kB / 334.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.555e-05/0.08201, allocations: 180.2 kB / 334.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/0.08206, allocations: 184.2 kB / 334.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/0.08216, allocations: 311.7 kB / 335.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.08223, allocations: 182.1 kB / 335.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.08229, allocations: 184.2 kB / 335.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.08238, allocations: 101 kB / 335.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.08244, allocations: 192.2 kB / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.08247, allocations: 109.3 kB / 335.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.08253, allocations: 91.27 kB / 336 MB, free: 10.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08253, allocations: 0 / 336 MB, free: 10.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.08279, allocations: 40 kB / 336 MB, free: 10.94 MB / 286.1 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.0005874/0.08338, allocations: 0.9013 MB / 336.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.528e-05/0.08344, allocations: 11.98 kB / 336.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.08345, allocations: 0 / 336.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.08346, allocations: 0 / 336.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.08377, allocations: 0.5224 MB / 337.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.0846, allocations: 1.351 MB / 338.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.08481, allocations: 0.6809 MB / 339.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.08484, allocations: 4 kB / 339.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.08487, allocations: 15.36 kB / 339.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08487, allocations: 0 / 339.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.816/1.901, allocations: 1.925 MB / 341.4 MB, free: 5.371 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.901, allocations: 254.7 kB / 341.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/3.919, allocations: 4 kB / 341.7 MB, free: 5.113 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches