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.0009198/0.0009198, allocations: 88.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009048/0.0009048, allocations: 161 kB / 24.91 MB, free: 9.203 MB / 18.57 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 0.9093/0.9093, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 1.012e-06/1.012e-06, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.847e-06/9.859e-06, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009286/0.0009384, allocations: 0.5642 MB / 274 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002115, allocations: 1.451 MB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.002132, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.002144, allocations: 3.938 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.371e-05/0.002168, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.002541, allocations: 159.5 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.87e-05/0.00258, allocations: 12 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.681e-05/0.002606, allocations: 4 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.00265, allocations: 19.86 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.002696, allocations: 7.984 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.002707, allocations: 0 / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.002918, allocations: 183.7 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.002926, allocations: 0 / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.214e-05/0.002939, allocations: 11.92 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.003091, allocations: 151.7 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003093, allocations: 0 / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.003093, allocations: 0 / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.003096, allocations: 0 / 276 MB, free: 14.64 MB / 266.7 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.0001801/0.003276, allocations: 252.7 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.003303, allocations: 15.98 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.003386, allocations: 8.922 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.38e-05/0.00345, allocations: 101.8 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.003456, allocations: 4.375 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-06/0.003462, allocations: 384 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.037e-05/0.003522, allocations: 67.89 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.003528, allocations: 7.875 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.003534, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.003537, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-06/0.003544, allocations: 4 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.003795, allocations: 320 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.003841, allocations: 169.2 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.003858, allocations: 84.08 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.003873, allocations: 75.28 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.003905, allocations: 117.8 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.003905, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.974e-05/0.003945, allocations: 25.7 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.003984, allocations: 152.4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.004041, allocations: 118.7 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.004049, allocations: 29.7 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.004078, allocations: 84.09 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.004081, allocations: 3.984 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.004102, allocations: 13.72 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.004159, allocations: 322.8 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.004163, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.004179, allocations: 33.69 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.493e-05/0.004194, allocations: 4.859 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004195, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.922e-05/0.004244, allocations: 45.73 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.004252, allocations: 4 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.004257, allocations: 3.984 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.004265, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.673e-05/0.004292, allocations: 4 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.004294, allocations: 3.938 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.004311, allocations: 3.984 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.004317, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 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.403e-05/0.004371, allocations: 185.1 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.004406, allocations: 109 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.004435, allocations: 112.5 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.004469, allocations: 184.2 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.472e-05/0.004504, allocations: 184.3 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/0.004539, allocations: 184.2 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.004643, allocations: 317.4 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.004664, allocations: 105 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.004686, allocations: 108.9 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-05/0.004719, allocations: 176.3 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.004754, allocations: 180.2 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.52e-05/0.00479, allocations: 184.2 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-05/0.004825, allocations: 196.2 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.215e-05/0.004898, allocations: 295.8 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.00492, allocations: 108.9 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.004958, allocations: 180.2 kB / 280.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.005003, allocations: 112.9 kB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.005039, allocations: 176.3 kB / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.005061, allocations: 105 kB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.005075, allocations: 21.09 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005075, allocations: 0 / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.005219, allocations: 39.88 kB / 281.2 MB, free: 9.055 MB / 266.7 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.0002324/0.005451, allocations: 247.8 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.987e-05/0.005491, allocations: 8.859 kB / 281.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005495, allocations: 0 / 281.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.005496, allocations: 0 / 281.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.005666, allocations: 467.5 kB / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001204/0.005786, allocations: 180.2 kB / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.283e-05/0.005809, allocations: 55.34 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.005845, allocations: 16.05 kB / 282.1 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.005888, allocations: 55.36 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.005889, allocations: 0 / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of Templates: time 0.002107/0.007995, allocations: 1.145 MB / 283.3 MB, free: 6.855 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.336220756173134]