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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 90.03 kB / 17.3 MB, free: 6.359 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.00122/0.00122, allocations: 176.7 kB / 18.2 MB, free: 5.531 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.32/1.32, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004331/0.0004332, allocations: 11.94 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08133, allocations: 47.59 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002331/0.0837, allocations: 1.971 MB / 330.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.08503, allocations: 0.7851 MB / 331.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.08506, allocations: 0 / 331.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/0.08516, allocations: 7.938 kB / 331.7 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.08528, allocations: 8 kB / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.0858, allocations: 171.7 kB / 331.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.08588, allocations: 15.98 kB / 331.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.08593, allocations: 4 kB / 331.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.08598, allocations: 15.86 kB / 331.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.08606, allocations: 19.92 kB / 331.9 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.08608, allocations: 4 kB / 332 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.08631, allocations: 139.8 kB / 332.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.08633, allocations: 4 kB / 332.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.08637, allocations: 37.62 kB / 332.1 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.08665, allocations: 119.8 kB / 332.2 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.08666, allocations: 3.938 kB / 332.3 MB, free: 448 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.08667, allocations: 4 kB / 332.3 MB, free: 444 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.08668, allocations: 0 / 332.3 MB, free: 444 kB / 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.0003248/0.08701, allocations: 351.8 kB / 332.6 MB, free: 44 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.08705, allocations: 8.031 kB / 332.6 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.08709, allocations: 4.938 kB / 332.6 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.08723, allocations: 172.2 kB / 332.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.08725, allocations: 384 / 332.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.08727, allocations: 384 / 332.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.08737, allocations: 46 kB / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.08738, allocations: 0 / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.08739, allocations: 0 / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.0874, allocations: 0 / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.08743, allocations: 8 kB / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.08782, allocations: 400 kB / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.08792, allocations: 173.1 kB / 333.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.08797, allocations: 80.14 kB / 333.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.08801, allocations: 79.28 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.08806, allocations: 109.8 kB / 333.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.08807, allocations: 0 / 333.7 MB, free: 14.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.536e-05/0.08816, allocations: 33.64 kB / 333.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.08824, allocations: 152.4 kB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.08835, allocations: 113.8 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.08837, allocations: 29.69 kB / 334 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.08843, allocations: 92.05 kB / 334.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.08844, allocations: 0 / 334.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.08846, allocations: 13.72 kB / 334.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.08862, allocations: 310.8 kB / 334.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.08864, allocations: 7.938 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.08866, allocations: 7.984 kB / 334.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.08869, allocations: 12.8 kB / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.0887, allocations: 0 / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.826e-05/0.08881, allocations: 45.73 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.08883, allocations: 4 kB / 334.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.08883, allocations: 0 / 334.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.08885, allocations: 0 / 334.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.0889, allocations: 7.984 kB / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.08891, allocations: 0 / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.08895, allocations: 0 / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.08897, allocations: 0 / 334.5 MB, free: 13.98 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 9.762e-05/0.08907, allocations: 193.1 kB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.08913, allocations: 105 kB / 334.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.0892, allocations: 124.2 kB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/0.08926, allocations: 176.3 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.574e-05/0.08932, allocations: 184.2 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.0894, allocations: 180.3 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.08962, allocations: 413.2 kB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.08967, allocations: 108.9 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.08971, allocations: 105 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.273e-05/0.08978, allocations: 180.2 kB / 336.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.08984, allocations: 176.3 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.474e-05/0.08991, allocations: 180.3 kB / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001466/0.09006, allocations: 184.2 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.09021, allocations: 315.6 kB / 337 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.0903, allocations: 178.1 kB / 337.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.09039, allocations: 184.2 kB / 337.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.09049, allocations: 112.9 kB / 337.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.09057, allocations: 180.2 kB / 337.7 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.09062, allocations: 109.2 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.09068, allocations: 95.56 kB / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09068, allocations: 0 / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.09097, allocations: 44 kB / 337.9 MB, free: 10.31 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.0004401/0.09142, allocations: 265.4 kB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.746e-05/0.09148, allocations: 4 kB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.0915, allocations: 3.938 kB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.09151, allocations: 8.062 kB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.09195, allocations: 0.5301 MB / 338.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.09215, allocations: 166 kB / 338.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.09243, allocations: 0.677 MB / 339.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.09246, allocations: 8 kB / 339.6 MB, free: 8.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.09248, allocations: 11.44 kB / 339.6 MB, free: 8.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09249, allocations: 0 / 339.6 MB, free: 8.59 MB / 286.1 MB Notification: Performance of Templates: time 0.003508/0.096, allocations: 1.078 MB / 340.7 MB, free: 7.512 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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