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.001033/0.001033, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001009/0.001009, allocations: 183 kB / 18.66 MB, free: 4.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.359/1.359, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001237/0.001237, allocations: 47.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08953, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003438/0.09299, allocations: 2.26 MB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.09419, allocations: 0.7776 MB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.09426, allocations: 0 / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.587e-05/0.09435, allocations: 7.938 kB / 378.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.09446, allocations: 8 kB / 378.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.09507, allocations: 207.4 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.09515, allocations: 19.92 kB / 378.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.0952, allocations: 7.984 kB / 378.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.09525, allocations: 11.92 kB / 378.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.09532, allocations: 8 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.09534, allocations: 7.938 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.09565, allocations: 191.7 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.09567, allocations: 0 / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.0957, allocations: 11.94 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.09595, allocations: 131.7 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.09596, allocations: 0 / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.09596, allocations: 0 / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.09597, allocations: 4 kB / 378.8 MB, free: 0.9141 MB / 318.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.0003782/0.09636, allocations: 355.4 kB / 379.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.09641, allocations: 8.031 kB / 379.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.09645, allocations: 4.938 kB / 379.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.09664, allocations: 176.3 kB / 379.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.09666, allocations: 4.359 kB / 379.3 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.09667, allocations: 384 / 379.3 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.09677, allocations: 38.02 kB / 379.3 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.09679, allocations: 0 / 379.3 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.0968, allocations: 4 kB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.09681, allocations: 0 / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.09684, allocations: 7.922 kB / 379.4 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.2692, allocations: 397.5 kB / 379.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.2693, allocations: 167 kB / 379.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.2693, allocations: 81.53 kB / 380 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2693, allocations: 76.69 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2694, allocations: 107.8 kB / 380.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.2694, allocations: 4.844 kB / 380.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.2695, allocations: 29.08 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2696, allocations: 154.9 kB / 380.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2697, allocations: 117.6 kB / 380.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2697, allocations: 26.27 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.2698, allocations: 95.91 kB / 380.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.2698, allocations: 0 / 380.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.2698, allocations: 16.48 kB / 380.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.2699, allocations: 314.7 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.2699, allocations: 6.188 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.27, allocations: 5.125 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.27, allocations: 11.61 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.27, allocations: 2.047 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001305/0.2702, allocations: 41.48 kB / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2702, allocations: 8.875 kB / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2702, allocations: 1.281 kB / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2702, allocations: 0 / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.2703, allocations: 4 kB / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2703, allocations: 0 / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.2704, allocations: 4.953 kB / 381 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.2704, allocations: 7.469 kB / 381 MB, free: 11.89 MB / 318.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.285e-05/0.2705, allocations: 189.1 kB / 381.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.2705, allocations: 106.9 kB / 381.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.2706, allocations: 111.7 kB / 381.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.2706, allocations: 180.5 kB / 381.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.2706, allocations: 181.7 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.2707, allocations: 182.7 kB / 381.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2708, allocations: 414.2 kB / 382.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.2708, allocations: 101 kB / 382.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.2709, allocations: 110.3 kB / 382.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.2709, allocations: 189.1 kB / 382.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2709, allocations: 178.8 kB / 382.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-05/0.271, allocations: 178.6 kB / 383.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-05/0.271, allocations: 183.3 kB / 383.3 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.195e-05/0.2711, allocations: 309.7 kB / 383.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.2711, allocations: 181 kB / 383.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2711, allocations: 186.6 kB / 383.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.2712, allocations: 106.3 kB / 384 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2712, allocations: 185.6 kB / 384.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2713, allocations: 103.9 kB / 384.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.2713, allocations: 89.92 kB / 384.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2713, allocations: 0 / 384.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.2717, allocations: 46.95 kB / 384.4 MB, free: 8.398 MB / 318.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.0004923/0.2722, allocations: 270.8 kB / 384.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.2723, allocations: 10.11 kB / 384.7 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2723, allocations: 3.938 kB / 384.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.2723, allocations: 1.562 kB / 384.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.2726, allocations: 461 kB / 385.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.2728, allocations: 168.4 kB / 385.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2729, allocations: 0.6777 MB / 386 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.695e-05/0.2729, allocations: 11.7 kB / 386 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.273, allocations: 10.89 kB / 386 MB, free: 6.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.273, allocations: 0 / 386 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Templates: time 0.00415/0.2771, allocations: 1.09 MB / 387.1 MB, free: 6.797 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches