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.001088/0.001089, allocations: 96.33 kB / 16.95 MB, free: 6.062 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.001497/0.001497, allocations: 175.2 kB / 17.84 MB, free: 5.699 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.451/1.451, allocations: 205.4 MB / 224 MB, free: 13.02 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.0004835/0.0004836, allocations: 12 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.0923, allocations: 47.59 MB / 328.3 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002219/0.09456, allocations: 1.898 MB / 330.2 MB, free: 2.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.09574, allocations: 0.7114 MB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.09579, allocations: 0 / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.09588, allocations: 11.92 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.09603, allocations: 7.938 kB / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.09656, allocations: 171.7 kB / 331.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.09664, allocations: 19.92 kB / 331.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.09669, allocations: 0 / 331.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.09674, allocations: 7.938 kB / 331.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.09682, allocations: 23.91 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.09684, allocations: 4 kB / 331.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.09707, allocations: 119.8 kB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.09709, allocations: 4 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.09712, allocations: 29.7 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.09731, allocations: 83.86 kB / 331.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.09732, allocations: 3.984 kB / 331.4 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.09733, allocations: 0 / 331.4 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09734, allocations: 0 / 331.4 MB, free: 0.9336 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.0003447/0.09769, allocations: 339.6 kB / 331.8 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.09774, allocations: 15.97 kB / 331.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.09778, allocations: 8 kB / 331.8 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.09793, allocations: 171 kB / 332 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.09796, allocations: 3.953 kB / 332 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.09797, allocations: 0 / 332 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.09807, allocations: 33.69 kB / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.09808, allocations: 0 / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.0981, allocations: 0 / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09811, allocations: 0 / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.09814, allocations: 11.94 kB / 332 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.09855, allocations: 407.9 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.09865, allocations: 169.1 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.09869, allocations: 80.14 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.09872, allocations: 75.28 kB / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.757e-05/0.0988, allocations: 113.8 kB / 332.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.09881, allocations: 0 / 332.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.228e-05/0.0989, allocations: 29.64 kB / 332.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.09899, allocations: 156.4 kB / 333 MB, free: 15.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.09911, allocations: 117.8 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.09914, allocations: 25.7 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.0992, allocations: 84.14 kB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.09921, allocations: 4 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.09922, allocations: 0 / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.09934, allocations: 318.8 kB / 333.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.09936, allocations: 0 / 333.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.09938, allocations: 11.98 kB / 333.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.09941, allocations: 7.938 kB / 333.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09941, allocations: 0 / 333.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.09952, allocations: 41.55 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.09954, allocations: 4 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.09955, allocations: 4.125 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.09957, allocations: 3.984 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.09963, allocations: 4 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.09964, allocations: 4 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.09969, allocations: 4 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.09972, allocations: 0 / 333.6 MB, free: 14.5 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.499e-05/0.09982, allocations: 189.1 kB / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.09989, allocations: 101 kB / 333.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.09994, allocations: 124.2 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-05/0.1, allocations: 176.3 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/0.1001, allocations: 180.3 kB / 334.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-05/0.1001, allocations: 184.2 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1003, allocations: 409.2 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.1004, allocations: 116.9 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.1004, allocations: 101 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.903e-05/0.1005, allocations: 180.2 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.1006, allocations: 184.2 kB / 335.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-05/0.1006, allocations: 176.3 kB / 335.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.325e-05/0.1007, allocations: 184.2 kB / 335.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1008, allocations: 307.8 kB / 336.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.1009, allocations: 194 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.101, allocations: 180.2 kB / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.1011, allocations: 104.9 kB / 336.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.1012, allocations: 184.3 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.1012, allocations: 104.9 kB / 336.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.145e-05/0.1013, allocations: 99.56 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1013, allocations: 0 / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1016, allocations: 40 kB / 337.1 MB, free: 10.84 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.0004956/0.1021, allocations: 253.8 kB / 337.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.1022, allocations: 8 kB / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1022, allocations: 0 / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1022, allocations: 0 / 337.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1026, allocations: 0.5225 MB / 337.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.1028, allocations: 178 kB / 338 MB, free: 9.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1031, allocations: 0.677 MB / 338.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.341e-05/0.1031, allocations: 11.94 kB / 338.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1031, allocations: 15.38 kB / 338.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1031, allocations: 0 / 338.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of Templates: time 0.003662/0.1068, allocations: 1.069 MB / 339.8 MB, free: 8.055 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