Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 43.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2746, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001741/0.2764, allocations: 0.5005 MB / 432.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2785, allocations: 1.4 MB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.2785, allocations: 0 / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.2785, allocations: 0 / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.2785, allocations: 3.938 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.2792, allocations: 186.2 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.2793, allocations: 23.91 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.2793, allocations: 0 / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2794, allocations: 8 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.2794, allocations: 11.92 kB / 434.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2795, allocations: 0 / 434.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2797, allocations: 171.8 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.2798, allocations: 11.98 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.2798, allocations: 7.938 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.28, allocations: 118.8 kB / 434.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.28, allocations: 0 / 434.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.28, allocations: 0 / 434.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.28, allocations: 0 / 434.8 MB, free: 4.301 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.0003922/0.2804, allocations: 278.1 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2805, allocations: 12.03 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2806, allocations: 8.875 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2807, allocations: 110.5 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2807, allocations: 384 / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.2807, allocations: 12.06 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2809, allocations: 59.34 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2809, allocations: 4 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2809, allocations: 4 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2809, allocations: 0 / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.2809, allocations: 0 / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.2813, allocations: 355.5 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2814, allocations: 169.1 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.2815, allocations: 80.14 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.2815, allocations: 79.28 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.2816, allocations: 113.8 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2816, allocations: 0 / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.2817, allocations: 25.7 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.2818, allocations: 156.4 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2819, allocations: 109.8 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2819, allocations: 25.7 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.282, allocations: 88.14 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.282, allocations: 0 / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.282, allocations: 17.7 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2821, allocations: 314.8 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.2822, allocations: 12 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.2822, allocations: 25.7 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.2822, allocations: 8.859 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2822, allocations: 0 / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.2823, allocations: 41.64 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2823, allocations: 4 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2824, allocations: 4 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2824, allocations: 3.938 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.2824, allocations: 0 / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2824, allocations: 4.109 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.2825, allocations: 8 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2825, allocations: 0 / 436.8 MB, free: 2.016 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.0001232/0.2826, allocations: 197 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.2827, allocations: 104.9 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.2827, allocations: 108.4 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.978e-05/0.2828, allocations: 180.3 kB / 437.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.2829, allocations: 176.3 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-05/0.283, allocations: 192.2 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2832, allocations: 353.1 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-05/0.2833, allocations: 104.9 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.2833, allocations: 117 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.66e-05/0.2834, allocations: 176.3 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.562e-05/0.2835, allocations: 188.2 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001029/0.2836, allocations: 180.4 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-05/0.2837, allocations: 184.2 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.2839, allocations: 311.8 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.2839, allocations: 104.9 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.284, allocations: 180.3 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2842, allocations: 108.9 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.2842, allocations: 184.3 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.2843, allocations: 105 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.2844, allocations: 87.28 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 3.938 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003286/0.2847, allocations: 43.86 kB / 440.2 MB, free: 14.51 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.0004249/0.2851, allocations: 244.5 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.2852, allocations: 4 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2852, allocations: 0 / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.2852, allocations: 4.062 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.2856, allocations: 459.6 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.2859, allocations: 190 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.286, allocations: 55.36 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.286, allocations: 19.31 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.286, allocations: 0 / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003087/0.2891, allocations: 1.019 MB / 442.1 MB, free: 12.49 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.703766590973828]