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.001476/0.001476, allocations: 112.8 kB / 16.51 MB, free: 6.707 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.001647/0.001647, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000944/0.000944, allocations: 47.53 kB / 299.9 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07604/0.077, allocations: 49.44 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00152/0.07855, allocations: 0.5634 MB / 350 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.08004, allocations: 1.422 MB / 351.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.08007, allocations: 0 / 351.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.08009, allocations: 0 / 351.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.08013, allocations: 0 / 351.4 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.0806, allocations: 145 kB / 351.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.08065, allocations: 11.98 kB / 351.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.08069, allocations: 0 / 351.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.08073, allocations: 11.94 kB / 351.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.08079, allocations: 15.92 kB / 351.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.08081, allocations: 0 / 351.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.08098, allocations: 119.9 kB / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.08101, allocations: 0 / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.08103, allocations: 11.91 kB / 351.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.08123, allocations: 123.7 kB / 351.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08124, allocations: 0 / 351.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.08124, allocations: 4 kB / 351.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.08125, allocations: 0 / 351.8 MB, free: 2.199 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.0003176/0.08157, allocations: 339.5 kB / 352.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.08162, allocations: 16.02 kB / 352.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.08166, allocations: 0.9375 kB / 352.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.677e-05/0.08176, allocations: 164.3 kB / 352.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.08177, allocations: 8.312 kB / 352.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.08179, allocations: 8.125 kB / 352.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.08188, allocations: 29.7 kB / 352.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.0819, allocations: 3.984 kB / 352.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.08191, allocations: 0 / 352.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.08192, allocations: 0 / 352.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.08195, allocations: 11.94 kB / 352.4 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.08234, allocations: 469.3 kB / 352.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.162e-05/0.08243, allocations: 169.1 kB / 353 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.08246, allocations: 80.14 kB / 353.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.08249, allocations: 75.28 kB / 353.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.08254, allocations: 113.8 kB / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 2.314e-06/0.08255, allocations: 0 / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.506e-05/0.08263, allocations: 41.58 kB / 353.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.0827, allocations: 152.4 kB / 353.5 MB, free: 352 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.08279, allocations: 105.8 kB / 353.6 MB, free: 236 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.08281, allocations: 25.7 kB / 353.6 MB, free: 204 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.08287, allocations: 95.98 kB / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.08288, allocations: 0 / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.08292, allocations: 13.72 kB / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.08302, allocations: 318.8 kB / 354 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.08305, allocations: 8 kB / 354 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.08307, allocations: 4 kB / 354 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.0831, allocations: 8.859 kB / 354 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.08311, allocations: 3.938 kB / 354 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.235e-05/0.0832, allocations: 33.7 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.08322, allocations: 7.984 kB / 354.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.08323, allocations: 256 / 354.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.08325, allocations: 4 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.0833, allocations: 8.125 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.08331, allocations: 0 / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.08335, allocations: 0 / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.08337, allocations: 4 kB / 354.1 MB, free: 15.67 MB / 302.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.036e-05/0.08347, allocations: 189.1 kB / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.08354, allocations: 112.9 kB / 354.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.08359, allocations: 108.5 kB / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.08365, allocations: 180.3 kB / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-05/0.08371, allocations: 184.2 kB / 354.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-05/0.08376, allocations: 176.3 kB / 355 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.08397, allocations: 413.1 kB / 355.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/0.08401, allocations: 101 kB / 355.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.08404, allocations: 105 kB / 355.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.164e-05/0.0841, allocations: 192.2 kB / 355.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.08416, allocations: 184.3 kB / 356 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-05/0.08422, allocations: 180.2 kB / 356.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-05/0.08427, allocations: 176.3 kB / 356.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.08439, allocations: 315.7 kB / 356.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.08446, allocations: 186 kB / 356.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.08453, allocations: 180.2 kB / 357 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.08462, allocations: 108.9 kB / 357.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.08468, allocations: 176.3 kB / 357.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.08471, allocations: 116.9 kB / 357.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.08476, allocations: 83.28 kB / 357.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08477, allocations: 0 / 357.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.08504, allocations: 43.98 kB / 357.5 MB, free: 12.01 MB / 302.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.000342/0.08538, allocations: 257.6 kB / 357.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.769e-05/0.08545, allocations: 8 kB / 357.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.08547, allocations: 0 / 357.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.08548, allocations: 3.938 kB / 357.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.08581, allocations: 0.5185 MB / 358.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.08598, allocations: 170 kB / 358.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.08618, allocations: 0.677 MB / 359.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.08626, allocations: 7.984 kB / 359.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.08628, allocations: 11.44 kB / 359.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of SimCode: time 1.383e-06/0.08628, allocations: 0 / 359.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Templates: time 0.00288/0.08917, allocations: 0.8998 MB / 360.1 MB, free: 9.414 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches