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.002576/0.002576, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.00302/0.00302, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.154e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001626/0.001657, allocations: 0.5098 MB / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.003848, allocations: 1.416 MB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.003872, allocations: 0 / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.003885, allocations: 0 / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.00393, allocations: 7.938 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.004612, allocations: 187.4 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.004663, allocations: 15.92 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.004697, allocations: 0 / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.004754, allocations: 8 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.004811, allocations: 11.98 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.004832, allocations: 7.984 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.005235, allocations: 155.8 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.005252, allocations: 7.938 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.005271, allocations: 4 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.005573, allocations: 151.6 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005576, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005577, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005581, allocations: 0 / 274.8 MB, free: 15.35 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.0004378/0.006019, allocations: 376.1 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.006057, allocations: 12.03 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.006193, allocations: 8.875 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.006313, allocations: 116.6 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.006323, allocations: 384 / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.006337, allocations: 8.359 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.006463, allocations: 59.95 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.006473, allocations: 3.938 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.006482, allocations: 0 / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.006485, allocations: 0 / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.00651, allocations: 7.938 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.00699, allocations: 486.7 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.007154, allocations: 265.4 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.007223, allocations: 134.8 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.007286, allocations: 127.2 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.664e-05/0.007373, allocations: 156.5 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.007374, allocations: 0 / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.663e-05/0.00746, allocations: 29.66 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.007575, allocations: 200.3 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.007724, allocations: 169.9 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.007742, allocations: 25.7 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.007825, allocations: 130.9 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.007826, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.007873, allocations: 27.36 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.008121, allocations: 496.1 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.008133, allocations: 4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.008171, allocations: 29.7 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.0082, allocations: 11.62 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008202, allocations: 0 / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001412/0.008343, allocations: 45.58 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.00836, allocations: 8 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.008364, allocations: 0 / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008377, allocations: 384 / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.008426, allocations: 8 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.008435, allocations: 8 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.008465, allocations: 0 / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.008474, allocations: 0 / 277.7 MB, free: 12.23 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 0.000171/0.008645, allocations: 275.8 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.008755, allocations: 160.7 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.008844, allocations: 156.4 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001346/0.008979, allocations: 268 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001362/0.009115, allocations: 268.1 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001444/0.009259, allocations: 268.1 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.0096, allocations: 0.4959 MB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.681e-05/0.009676, allocations: 144.9 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.00975, allocations: 148.8 kB / 279.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.009892, allocations: 276 kB / 280.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.01003, allocations: 264.1 kB / 280.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001349/0.01017, allocations: 268 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001459/0.01031, allocations: 268.1 kB / 280.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.01059, allocations: 448 kB / 281.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.01069, allocations: 152.8 kB / 281.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.01084, allocations: 272 kB / 281.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.01109, allocations: 148.9 kB / 281.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.01125, allocations: 280 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.01132, allocations: 144.9 kB / 282.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.736e-05/0.01141, allocations: 127.2 kB / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01141, allocations: 0 / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.01171, allocations: 47.86 kB / 282.4 MB, free: 7.25 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.0005551/0.01227, allocations: 291.1 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.01236, allocations: 19.62 kB / 282.7 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01237, allocations: 0 / 282.7 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.01237, allocations: 4 kB / 282.8 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.01295, allocations: 0.7023 MB / 283.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.01326, allocations: 225.5 kB / 283.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.01332, allocations: 55.36 kB / 283.7 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.01339, allocations: 19.91 kB / 283.7 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.01341, allocations: 8.5 kB / 283.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01341, allocations: 0 / 283.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of Templates: time 0.004236/0.01765, allocations: 1.019 MB / 284.8 MB, free: 4.859 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/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: 4.43746717099566]