Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002345/0.002345, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.1 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2619, allocations: 53.4 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001811/0.2637, allocations: 0.4967 MB / 432.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.266, allocations: 1.466 MB / 434.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.266, allocations: 0 / 434.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.266, allocations: 7.875 kB / 434.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.2661, allocations: 0 / 434.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.267, allocations: 186.9 kB / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.2671, allocations: 11.98 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.2671, allocations: 4 kB / 434.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.2672, allocations: 15.88 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.2673, allocations: 11.98 kB / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2673, allocations: 0 / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.2676, allocations: 167.8 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.2677, allocations: 7.922 kB / 434.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2677, allocations: 8 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.268, allocations: 124.9 kB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.268, allocations: 7.984 kB / 434.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.268, allocations: 0 / 434.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.268, allocations: 0 / 434.9 MB, free: 4.242 MB / 334.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.0004631/0.2685, allocations: 282.1 kB / 435.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2685, allocations: 8.031 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2687, allocations: 8.922 kB / 435.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2688, allocations: 110.5 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.2688, allocations: 384 / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2689, allocations: 4.125 kB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.269, allocations: 33.7 kB / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.269, allocations: 0 / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.269, allocations: 4 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.269, allocations: 0 / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.962e-05/0.2691, allocations: 11.94 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.2695, allocations: 367 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.2696, allocations: 169.1 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.2697, allocations: 88.08 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2697, allocations: 75.28 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.2698, allocations: 109.8 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2698, allocations: 0 / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.048e-05/0.2699, allocations: 33.59 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.27, allocations: 152.4 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2701, allocations: 113.8 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.2701, allocations: 29.7 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.2702, allocations: 80.14 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.2702, allocations: 0 / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2702, allocations: 17.7 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2704, allocations: 322.8 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.2704, allocations: 0 / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.2704, allocations: 7.984 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.2704, allocations: 12.89 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2704, allocations: 3.938 kB / 436.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001159/0.2706, allocations: 37.66 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2706, allocations: 8 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2706, allocations: 0 / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2706, allocations: 0 / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2706, allocations: 4 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2707, allocations: 4 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.2707, allocations: 0 / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2707, allocations: 3.984 kB / 437 MB, free: 1.988 MB / 334.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 0.0001165/0.2708, allocations: 193.1 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.2709, allocations: 104.9 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/0.271, allocations: 104.5 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.926e-05/0.271, allocations: 184.3 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-05/0.2711, allocations: 184.2 kB / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.988e-05/0.2712, allocations: 180.3 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2715, allocations: 384.2 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/0.2715, allocations: 101 kB / 438.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.2716, allocations: 105 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.2717, allocations: 180.2 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.2718, allocations: 180.3 kB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001085/0.2719, allocations: 188.4 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001098/0.272, allocations: 188.5 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2722, allocations: 307.7 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.2723, allocations: 105 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2724, allocations: 192.2 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2726, allocations: 105 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2727, allocations: 176.3 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.2727, allocations: 104.9 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.2728, allocations: 91.27 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2728, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000351/0.2732, allocations: 39.88 kB / 440.3 MB, free: 14.46 MB / 350.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.0005721/0.2737, allocations: 252.8 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2739, allocations: 7.984 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2739, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.2739, allocations: 3.938 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.2744, allocations: 462.1 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.2747, allocations: 186 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.275, allocations: 0.6729 MB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.2751, allocations: 11.44 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2751, allocations: 0 / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003673/0.2787, allocations: 1.006 MB / 442.9 MB, free: 11.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.972575190011412]