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.0014/0.001401, allocations: 114.9 kB / 17.75 MB, free: 5.312 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.001284/0.001284, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 55.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2588, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001605/0.2605, allocations: 0.511 MB / 401.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2622, allocations: 1.376 MB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.2622, allocations: 0 / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2622, allocations: 3.938 kB / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.2623, allocations: 0 / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.2629, allocations: 182.8 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.263, allocations: 11.98 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.263, allocations: 8 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.2631, allocations: 4 kB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.2631, allocations: 15.91 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.2632, allocations: 4 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.2634, allocations: 170.3 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.2634, allocations: 0 / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2635, allocations: 11.94 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.2637, allocations: 115.8 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2637, allocations: 0 / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.2637, allocations: 0 / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.2637, allocations: 3.938 kB / 403.8 MB, free: 6.441 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.0003714/0.2641, allocations: 348.8 kB / 404.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2641, allocations: 8.031 kB / 404.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2642, allocations: 8.875 kB / 404.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2643, allocations: 172.2 kB / 404.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2643, allocations: 4.375 kB / 404.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2643, allocations: 4.125 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.2644, allocations: 29.7 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2644, allocations: 0 / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2645, allocations: 4 kB / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2645, allocations: 0 / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.2645, allocations: 0 / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.2649, allocations: 481 kB / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.265, allocations: 169.1 kB / 405 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.265, allocations: 84.14 kB / 405.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2651, allocations: 79.27 kB / 405.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.2651, allocations: 109.8 kB / 405.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2651, allocations: 0 / 405.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.504e-05/0.2652, allocations: 33.55 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.2653, allocations: 160.4 kB / 405.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2654, allocations: 105.9 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2654, allocations: 25.7 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2655, allocations: 84.12 kB / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-06/0.2655, allocations: 4 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2655, allocations: 17.72 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2656, allocations: 318.8 kB / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.2656, allocations: 0 / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.2657, allocations: 7.984 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.2657, allocations: 12.8 kB / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2657, allocations: 0 / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.2658, allocations: 41.64 kB / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2658, allocations: 4.125 kB / 406.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2658, allocations: 4 kB / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2659, allocations: 0 / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.2659, allocations: 4 kB / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2659, allocations: 3.984 kB / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.266, allocations: 0 / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.266, allocations: 0 / 406.1 MB, free: 3.914 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 9.794e-05/0.2661, allocations: 189.1 kB / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.2662, allocations: 105.1 kB / 406.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.2662, allocations: 116.5 kB / 406.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-05/0.2663, allocations: 188.3 kB / 406.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-05/0.2664, allocations: 184.2 kB / 406.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/0.2664, allocations: 180.3 kB / 407 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.2666, allocations: 405.2 kB / 407.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.2667, allocations: 116.9 kB / 407.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.2667, allocations: 101 kB / 407.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.903e-05/0.2668, allocations: 184.2 kB / 407.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.2669, allocations: 176.3 kB / 408 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-05/0.2669, allocations: 184.2 kB / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/0.267, allocations: 180.5 kB / 408.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2671, allocations: 315.7 kB / 408.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2672, allocations: 178.1 kB / 408.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.2673, allocations: 188.2 kB / 409 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.2674, allocations: 101 kB / 409.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.2674, allocations: 180.3 kB / 409.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.2675, allocations: 112.9 kB / 409.4 MB, free: 384 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.2675, allocations: 87.28 kB / 409.5 MB, free: 296 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2675, allocations: 0 / 409.5 MB, free: 296 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.2678, allocations: 39.98 kB / 409.5 MB, free: 256 kB / 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.0003929/0.2682, allocations: 252.7 kB / 409.8 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.2683, allocations: 7.984 kB / 409.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2683, allocations: 0 / 409.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-06/0.2683, allocations: 0 / 409.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2687, allocations: 467.6 kB / 410.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.2689, allocations: 190 kB / 410.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2691, allocations: 0.6805 MB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.2692, allocations: 11.44 kB / 411.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2692, allocations: 0 / 411.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Templates: time 0.002642/0.2718, allocations: 0.9695 MB / 412.1 MB, free: 13.64 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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