Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001128/0.001129, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001221/0.001221, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.273/1.273, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002429/0.000243, allocations: 6.141 kB / 300.7 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08378, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004999/0.08432, allocations: 233.9 kB / 351.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.08577, allocations: 1.315 MB / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.08581, allocations: 0 / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-06/0.08583, allocations: 4 kB / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.08587, allocations: 7.938 kB / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.08635, allocations: 142.4 kB / 352.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.0864, allocations: 11.98 kB / 352.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.08644, allocations: 3.938 kB / 352.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.08648, allocations: 11.92 kB / 352.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.08652, allocations: 4 kB / 352.9 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.08654, allocations: 4 kB / 352.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.0867, allocations: 95.86 kB / 353 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.08672, allocations: 0 / 353 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.08674, allocations: 25.7 kB / 353 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.08689, allocations: 75.89 kB / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.0869, allocations: 0 / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08691, allocations: 4 kB / 353.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.08692, allocations: 4 kB / 353.1 MB, free: 9.77 MB / 286.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.0002916/0.08721, allocations: 343.5 kB / 353.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.08725, allocations: 12.03 kB / 353.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.08729, allocations: 3.953 kB / 353.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.08741, allocations: 167 kB / 353.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.08743, allocations: 4 kB / 353.6 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.08744, allocations: 3.938 kB / 353.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.08754, allocations: 41.64 kB / 353.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.08755, allocations: 0 / 353.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.08756, allocations: 0 / 353.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.08757, allocations: 0 / 353.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.08761, allocations: 7.953 kB / 353.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.088, allocations: 465 kB / 354.1 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.244e-05/0.08808, allocations: 177.1 kB / 354.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.08811, allocations: 75.28 kB / 354.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.08815, allocations: 109.8 kB / 354.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.08816, allocations: 0 / 354.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.29e-05/0.08823, allocations: 33.66 kB / 354.5 MB, free: 8.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.0883, allocations: 156.4 kB / 354.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.0884, allocations: 109.8 kB / 354.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.08842, allocations: 25.7 kB / 354.8 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.08847, allocations: 92.12 kB / 354.8 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.08848, allocations: 0 / 354.8 MB, free: 7.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.08849, allocations: 3.938 kB / 354.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.08859, allocations: 310.8 kB / 355.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.0886, allocations: 0 / 355.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.08862, allocations: 4 kB / 355.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.08866, allocations: 4.094 kB / 355.2 MB, free: 7.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.08867, allocations: 4 kB / 355.2 MB, free: 7.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.791e-05/0.08877, allocations: 45.62 kB / 355.2 MB, free: 7.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.08879, allocations: 4 kB / 355.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.0888, allocations: 0 / 355.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.08881, allocations: 0 / 355.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.08887, allocations: 7.953 kB / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.08888, allocations: 0 / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.08892, allocations: 0 / 355.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.08893, allocations: 0 / 355.2 MB, free: 7.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.08903, allocations: 189.2 kB / 355.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.0891, allocations: 112.8 kB / 355.5 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.08916, allocations: 112.5 kB / 355.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.08921, allocations: 180.2 kB / 355.8 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-05/0.08928, allocations: 184.2 kB / 356 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/0.08934, allocations: 184.2 kB / 356.2 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.08956, allocations: 409.2 kB / 356.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.0896, allocations: 105.2 kB / 356.7 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.08965, allocations: 108.9 kB / 356.8 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.958e-05/0.0897, allocations: 180.3 kB / 356.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.08977, allocations: 176.3 kB / 357.1 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.818e-05/0.08983, allocations: 188.2 kB / 357.3 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.876e-05/0.08989, allocations: 184.2 kB / 357.5 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.09001, allocations: 303.7 kB / 357.8 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.09009, allocations: 186 kB / 358 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.09017, allocations: 184.2 kB / 358.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.09026, allocations: 105 kB / 358.2 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.09034, allocations: 180.2 kB / 358.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.09037, allocations: 101 kB / 358.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.09043, allocations: 91.27 kB / 358.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09043, allocations: 0 / 358.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.09071, allocations: 43.95 kB / 358.7 MB, free: 3.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003629/0.09108, allocations: 249.3 kB / 358.9 MB, free: 3.465 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.672e-05/0.09116, allocations: 7.938 kB / 358.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09117, allocations: 0 / 358.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.09117, allocations: 0 / 358.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.09145, allocations: 0.5264 MB / 359.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.09163, allocations: 169.9 kB / 359.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.09186, allocations: 0.677 MB / 360.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.09195, allocations: 19.97 kB / 360.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.09197, allocations: 7.438 kB / 360.3 MB, free: 2 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09197, allocations: 0 / 360.3 MB, free: 2 MB / 286.1 MB Notification: Performance of Templates: time 0.00284/0.09482, allocations: 0.885 MB / 361.2 MB, free: 1.117 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches