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.001079/0.001079, allocations: 113.9 kB / 17.68 MB, free: 5.379 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.001105/0.001105, allocations: 192 kB / 18.62 MB, free: 4.457 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 55.17 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08344, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001625/0.0851, allocations: 0.5062 MB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.08678, allocations: 1.371 MB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.08682, allocations: 3.938 kB / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.08685, allocations: 4 kB / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.664e-05/0.08689, allocations: 0 / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.08749, allocations: 179.8 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.786e-05/0.08755, allocations: 11.98 kB / 353.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.08759, allocations: 0 / 353.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.08764, allocations: 15.94 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.08771, allocations: 19.91 kB / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.08772, allocations: 0 / 353.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.08798, allocations: 155.8 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.088, allocations: 4 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.08803, allocations: 11.92 kB / 353.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.08824, allocations: 115.8 kB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.08826, allocations: 0 / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.08826, allocations: 3.938 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.08827, allocations: 0 / 353.9 MB, free: 1.312 MB / 286.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.0003227/0.0886, allocations: 351.4 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.08864, allocations: 12.03 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.08868, allocations: 0.9375 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.08879, allocations: 168.3 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.08881, allocations: 384 / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.08882, allocations: 8.125 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.08892, allocations: 33.7 kB / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.08894, allocations: 0 / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.08895, allocations: 0 / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.08896, allocations: 4 kB / 354.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.08899, allocations: 7.969 kB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.08938, allocations: 476.9 kB / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.08948, allocations: 173.2 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.08951, allocations: 84.14 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.08954, allocations: 79.28 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.08959, allocations: 105.8 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.0896, allocations: 0 / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.096e-05/0.08967, allocations: 37.62 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.08975, allocations: 152.4 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.08984, allocations: 109.8 kB / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.08986, allocations: 25.7 kB / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.08992, allocations: 92.05 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.08993, allocations: 0 / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.08997, allocations: 13.72 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.09007, allocations: 322.8 kB / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.09009, allocations: 4 kB / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.09011, allocations: 0 / 356.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.09014, allocations: 8.859 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.09015, allocations: 4.344 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001174/0.09027, allocations: 37.64 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.09029, allocations: 7.938 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0903, allocations: 4 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.09032, allocations: 3.984 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.09037, allocations: 4 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.09038, allocations: 3.984 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.09043, allocations: 4 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.09045, allocations: 4 kB / 356.2 MB, free: 14.77 MB / 302.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 8.331e-05/0.09054, allocations: 189.1 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.09062, allocations: 108.9 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.09066, allocations: 108.5 kB / 356.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/0.09073, allocations: 176.3 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/0.09079, allocations: 184.2 kB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/0.09085, allocations: 184.3 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.09106, allocations: 417.1 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.09111, allocations: 101 kB / 357.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.09114, allocations: 105.1 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-05/0.0912, allocations: 180.2 kB / 357.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.09127, allocations: 180.3 kB / 358.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-05/0.09133, allocations: 188.2 kB / 358.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-05/0.09139, allocations: 176.3 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.09152, allocations: 315.7 kB / 358.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.09159, allocations: 182 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.09166, allocations: 188.2 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.09177, allocations: 108.9 kB / 359.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.09184, allocations: 180.2 kB / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.09188, allocations: 108.9 kB / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.09193, allocations: 83.28 kB / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09194, allocations: 0 / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.09222, allocations: 39.98 kB / 359.6 MB, free: 11.11 MB / 302.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.00038/0.09261, allocations: 257.9 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.09269, allocations: 8 kB / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.0927, allocations: 0 / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.09271, allocations: 3.938 kB / 359.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.09303, allocations: 463.7 kB / 360.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.09321, allocations: 160.2 kB / 360.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.09343, allocations: 0.6768 MB / 361.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.09351, allocations: 11.92 kB / 361.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.09353, allocations: 15.44 kB / 361.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09354, allocations: 0 / 361.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of Templates: time 0.002951/0.0965, allocations: 0.9072 MB / 362.1 MB, free: 8.578 MB / 302.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 -s cvode -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