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.001371/0.001371, allocations: 109.4 kB / 17.73 MB, free: 5.332 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.0014/0.0014, allocations: 184.1 kB / 18.66 MB, free: 4.41 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.339/1.339, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001898/0.001898, allocations: 55.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003897/0.12, allocations: 2.264 MB / 377.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1214, allocations: 0.7853 MB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.1215, allocations: 0 / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.1216, allocations: 4 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.1217, allocations: 3.938 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.1223, allocations: 215.5 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.1224, allocations: 12 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1225, allocations: 3.984 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.1225, allocations: 19.86 kB / 378.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1226, allocations: 15.92 kB / 378.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1226, allocations: 4 kB / 378.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.1229, allocations: 179.8 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.123, allocations: 11.92 kB / 378.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.123, allocations: 11.92 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1232, allocations: 127.8 kB / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1232, allocations: 0 / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1233, allocations: 0 / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1233, allocations: 0 / 378.8 MB, free: 0.9375 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.0004202/0.1237, allocations: 355.4 kB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1237, allocations: 8.031 kB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1238, allocations: 12.88 kB / 379.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1239, allocations: 168.3 kB / 379.3 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.124, allocations: 4.375 kB / 379.3 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.124, allocations: 384 / 379.3 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1241, allocations: 42 kB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1241, allocations: 0 / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1241, allocations: 0 / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1241, allocations: 0 / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.1242, allocations: 4 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.2836, allocations: 395.4 kB / 379.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/0.2837, allocations: 171.5 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.2837, allocations: 80.14 kB / 380 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.2837, allocations: 75.28 kB / 380.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2837, allocations: 110.4 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.2838, allocations: 2.25 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.2838, allocations: 32.33 kB / 380.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2839, allocations: 155.1 kB / 380.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.284, allocations: 119 kB / 380.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.284, allocations: 29.52 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.284, allocations: 88.06 kB / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.2841, allocations: 0 / 380.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.2841, allocations: 18.53 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.644e-05/0.2841, allocations: 313.4 kB / 380.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.2842, allocations: 5.797 kB / 380.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.2842, allocations: 4.969 kB / 380.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.2842, allocations: 15.62 kB / 380.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2842, allocations: 0 / 380.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/0.2843, allocations: 41.09 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2844, allocations: 9.438 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2844, allocations: 0.6094 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2844, allocations: 0 / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.2844, allocations: 3.688 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2844, allocations: 0.6875 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.2845, allocations: 9.891 kB / 381 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2845, allocations: 3.25 kB / 381 MB, free: 11.93 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 5.034e-05/0.2846, allocations: 183.1 kB / 381.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2846, allocations: 110.6 kB / 381.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2846, allocations: 114.6 kB / 381.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.2847, allocations: 182 kB / 381.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.2847, allocations: 178.5 kB / 381.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.2847, allocations: 181.5 kB / 381.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2849, allocations: 409.8 kB / 382.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.2849, allocations: 113.3 kB / 382.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.2849, allocations: 107.2 kB / 382.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.2849, allocations: 186.8 kB / 382.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.285, allocations: 179 kB / 382.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-05/0.285, allocations: 178.2 kB / 383.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/0.285, allocations: 184.9 kB / 383.3 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/0.2851, allocations: 311.2 kB / 383.6 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.2851, allocations: 180.7 kB / 383.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.2852, allocations: 185.4 kB / 383.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.2853, allocations: 113.9 kB / 384 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.2853, allocations: 178.8 kB / 384.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2853, allocations: 106.8 kB / 384.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.2854, allocations: 98.31 kB / 384.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2854, allocations: 0 / 384.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.2857, allocations: 39.75 kB / 384.4 MB, free: 8.43 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.0004719/0.2862, allocations: 271.5 kB / 384.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.2863, allocations: 9.422 kB / 384.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2863, allocations: 4.188 kB / 384.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.2863, allocations: 0 / 384.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2866, allocations: 459 kB / 385.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.2867, allocations: 169.3 kB / 385.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.2868, allocations: 0.6766 MB / 386 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.2869, allocations: 9.562 kB / 386 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.2869, allocations: 10.36 kB / 386 MB, free: 6.926 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2869, allocations: 0 / 386 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Templates: time 0.00348/0.2904, allocations: 1.095 MB / 387.1 MB, free: 6.824 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