Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008986/0.0008986, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001383/0.001383, allocations: 163.9 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8129/0.8129, allocations: 158.6 MB / 187.6 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.686e-06/9.758e-06, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00228/0.002289, allocations: 2.281 MB / 253.8 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.003037, allocations: 0.7533 MB / 254.5 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.00306, allocations: 0 / 254.5 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.003114, allocations: 11.94 kB / 254.6 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.003195, allocations: 4 kB / 254.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.003581, allocations: 207.3 kB / 254.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.003638, allocations: 23.91 kB / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.761e-05/0.003665, allocations: 4 kB / 254.8 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.003704, allocations: 11.98 kB / 254.8 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.003751, allocations: 4 kB / 254.8 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.00376, allocations: 4 kB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.003949, allocations: 183.6 kB / 255 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.003958, allocations: 0 / 255 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.003969, allocations: 4 kB / 255 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004139, allocations: 155.6 kB / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.00414, allocations: 4 kB / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00414, allocations: 0 / 255.2 MB, free: 3.605 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.004143, allocations: 4 kB / 255.2 MB, free: 3.602 MB / 234.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.0002008/0.004344, allocations: 256.7 kB / 255.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.531e-05/0.004369, allocations: 11.98 kB / 255.4 MB, free: 3.316 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.00439, allocations: 4.938 kB / 255.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.371e-05/0.004453, allocations: 113.7 kB / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.00446, allocations: 384 / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.004467, allocations: 384 / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.004528, allocations: 62.78 kB / 255.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-06/0.004532, allocations: 4.125 kB / 255.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.00454, allocations: 8.359 kB / 255.6 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004544, allocations: 7.938 kB / 255.6 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-06/0.004551, allocations: 4 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.004732, allocations: 305 kB / 255.9 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.00478, allocations: 169.2 kB / 256.1 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.004799, allocations: 84.08 kB / 256.2 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004814, allocations: 79.22 kB / 256.2 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.004843, allocations: 105.8 kB / 256.3 MB, free: 2.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.004843, allocations: 0 / 256.3 MB, free: 2.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 3.723e-05/0.004881, allocations: 33.67 kB / 256.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.004925, allocations: 160.4 kB / 256.5 MB, free: 2.094 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.004988, allocations: 124.3 kB / 256.7 MB, free: 1.957 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004996, allocations: 25.7 kB / 256.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.005027, allocations: 88.12 kB / 256.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.005028, allocations: 0 / 256.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.005049, allocations: 17.7 kB / 256.8 MB, free: 1.812 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.005113, allocations: 314.8 kB / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.005117, allocations: 2.828 kB / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.005132, allocations: 33.62 kB / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.546e-05/0.005147, allocations: 11.69 kB / 257.1 MB, free: 1.438 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005149, allocations: 4.094 kB / 257.1 MB, free: 1.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.369e-05/0.005192, allocations: 29.7 kB / 257.2 MB, free: 1.398 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.005201, allocations: 8 kB / 257.2 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.005204, allocations: 0 / 257.2 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005214, allocations: 7.922 kB / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.223e-05/0.005247, allocations: 0 / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.005249, allocations: 0 / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.005275, allocations: 7.953 kB / 257.2 MB, free: 1.375 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.005284, allocations: 4 kB / 257.2 MB, free: 1.371 MB / 234.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.496e-05/0.005339, allocations: 189.1 kB / 257.4 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.005369, allocations: 105 kB / 257.5 MB, free: 1.066 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.0054, allocations: 112.4 kB / 257.6 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.005433, allocations: 184.1 kB / 257.8 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/0.005466, allocations: 176.3 kB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.0055, allocations: 184.2 kB / 258.1 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.005609, allocations: 325.4 kB / 258.4 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.005637, allocations: 105.1 kB / 258.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.005657, allocations: 104.9 kB / 258.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.148e-05/0.005689, allocations: 180.3 kB / 258.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.005724, allocations: 184.2 kB / 259 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.253e-05/0.005756, allocations: 176.3 kB / 259.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-05/0.005788, allocations: 188.2 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.357e-05/0.005862, allocations: 307.7 kB / 259.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.005887, allocations: 112.9 kB / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.005927, allocations: 180.3 kB / 260 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.005974, allocations: 109 kB / 260.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.006009, allocations: 184.1 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.006029, allocations: 105 kB / 260.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.73e-05/0.006046, allocations: 23.67 kB / 260.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006046, allocations: 0 / 260.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.006213, allocations: 47.86 kB / 260.4 MB, free: 13.98 MB / 250.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.000304/0.006517, allocations: 276.8 kB / 260.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.953e-05/0.006556, allocations: 8.859 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.006559, allocations: 4.062 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.00656, allocations: 0 / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.006726, allocations: 459.7 kB / 261.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001256/0.006852, allocations: 179 kB / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.472e-05/0.006876, allocations: 55.34 kB / 261.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.006899, allocations: 11.88 kB / 261.4 MB, free: 12.97 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.006947, allocations: 63.34 kB / 261.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006947, allocations: 0 / 261.4 MB, free: 12.91 MB / 250.7 MB Notification: Performance of Templates: time 0.002381/0.009328, allocations: 1.301 MB / 262.7 MB, free: 11.61 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4131466853432357]