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.001378/0.001377, allocations: 109.3 kB / 18.4 MB, free: 4.676 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.001388/0.001388, allocations: 185.3 kB / 19.33 MB, free: 3.754 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.371/1.371, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001414/0.001415, allocations: 55.91 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08681, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003593/0.09045, allocations: 2.258 MB / 378.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.09179, allocations: 0.7806 MB / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.0919, allocations: 0 / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.337e-05/0.092, allocations: 7.938 kB / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.09211, allocations: 0 / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.09279, allocations: 215.5 kB / 379.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.09288, allocations: 19.92 kB / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.09293, allocations: 0 / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.09298, allocations: 15.92 kB / 379.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.09306, allocations: 15.92 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.09308, allocations: 0 / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.09339, allocations: 187.7 kB / 379.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.09341, allocations: 0 / 379.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.09345, allocations: 15.92 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.09373, allocations: 135.7 kB / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09375, allocations: 0 / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09375, allocations: 0 / 379.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.09376, allocations: 0 / 379.4 MB, free: 0.9336 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.0003579/0.09413, allocations: 351.4 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.09417, allocations: 15.97 kB / 379.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.09422, allocations: 4.922 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.09437, allocations: 168.3 kB / 380 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.09439, allocations: 4.375 kB / 380 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.09441, allocations: 384 / 380 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.09451, allocations: 42 kB / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.09452, allocations: 0 / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.09454, allocations: 0 / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.09455, allocations: 0 / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.09457, allocations: 7.938 kB / 380 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1976/0.2922, allocations: 392.3 kB / 380.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.2923, allocations: 171 kB / 380.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.2924, allocations: 81.88 kB / 380.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2924, allocations: 77.47 kB / 380.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2924, allocations: 106.8 kB / 380.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.2924, allocations: 3.188 kB / 380.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 9.502e-05/0.2925, allocations: 30.59 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.2926, allocations: 154 kB / 381 MB, free: 12.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2927, allocations: 116.3 kB / 381.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2927, allocations: 27.08 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.2928, allocations: 90.16 kB / 381.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2928, allocations: 2.156 kB / 381.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2928, allocations: 19.73 kB / 381.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2929, allocations: 317.4 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.2929, allocations: 2.578 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.2929, allocations: 6.156 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.2929, allocations: 14.75 kB / 381.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.293, allocations: 0 / 381.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000107/0.2931, allocations: 37.73 kB / 381.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2931, allocations: 10.84 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2931, allocations: 0.875 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2931, allocations: 0 / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.2932, allocations: 3.062 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2932, allocations: 0.7031 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.2933, allocations: 9.047 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2933, allocations: 5.578 kB / 381.7 MB, free: 11.91 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 6.083e-05/0.2933, allocations: 187.9 kB / 381.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.2934, allocations: 108.4 kB / 382 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.2934, allocations: 109.4 kB / 382.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.2935, allocations: 185.3 kB / 382.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/0.2935, allocations: 179.1 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.2935, allocations: 183.8 kB / 382.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2937, allocations: 412.6 kB / 383 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.2937, allocations: 109.8 kB / 383.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.2937, allocations: 102.9 kB / 383.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.617e-05/0.2938, allocations: 186.1 kB / 383.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.2938, allocations: 182 kB / 383.6 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.2938, allocations: 178.1 kB / 383.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-05/0.2939, allocations: 184.2 kB / 383.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.2939, allocations: 309.4 kB / 384.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.294, allocations: 184.1 kB / 384.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.294, allocations: 187.1 kB / 384.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.2941, allocations: 102.9 kB / 384.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2942, allocations: 180.8 kB / 384.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2942, allocations: 106.6 kB / 385 MB, free: 8.492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.2942, allocations: 94.61 kB / 385.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2942, allocations: 0 / 385.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.2946, allocations: 42.44 kB / 385.1 MB, free: 8.418 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.0005406/0.2952, allocations: 277.7 kB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.2953, allocations: 11.91 kB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2953, allocations: 0 / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2953, allocations: 3.938 kB / 385.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2956, allocations: 459.1 kB / 385.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.2958, allocations: 194.2 kB / 386 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2959, allocations: 0.6772 MB / 386.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.2959, allocations: 12.02 kB / 386.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2959, allocations: 0 / 386.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Templates: time 0.003242/0.2992, allocations: 1.125 MB / 387.8 MB, free: 6.805 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/jenkins1/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/jenkins1/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