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.001925/0.001925, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.001445/0.001445, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.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 2.574e-06/2.574e-06, allocations: 0.7031 kB / 325 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.643e-05, allocations: 10.39 kB / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001332/0.001358, allocations: 0.4996 MB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.003392, allocations: 1.413 MB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.003423, allocations: 4.938 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.003435, allocations: 0 / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.003466, allocations: 3.938 kB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.004114, allocations: 187.2 kB / 327.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.004167, allocations: 22.91 kB / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.0042, allocations: 1.969 kB / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.004254, allocations: 7.969 kB / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.004309, allocations: 7.859 kB / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.004326, allocations: 0 / 327.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.004613, allocations: 168.2 kB / 327.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.004627, allocations: 1.75 kB / 327.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.004645, allocations: 7.406 kB / 327.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.004918, allocations: 158.6 kB / 327.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004921, allocations: 0 / 327.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004922, allocations: 0 / 327.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.004925, allocations: 3.938 kB / 327.5 MB, free: 15.05 MB / 302.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.0003824/0.005307, allocations: 277.3 kB / 327.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.005348, allocations: 8.312 kB / 327.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.005497, allocations: 4.25 kB / 327.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.005614, allocations: 105.8 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005626, allocations: 1.375 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.005633, allocations: 4.375 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005756, allocations: 58.88 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005767, allocations: 3.938 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005778, allocations: 1.125 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.005782, allocations: 0 / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.005806, allocations: 6.875 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.006196, allocations: 345.3 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.006302, allocations: 166.4 kB / 328.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.006345, allocations: 85.94 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.00638, allocations: 75.28 kB / 328.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/0.006449, allocations: 112.9 kB / 328.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 3.026e-06/0.006452, allocations: 3.984 kB / 328.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.201e-05/0.006534, allocations: 35.25 kB / 328.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.006628, allocations: 158.3 kB / 328.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006737, allocations: 106.6 kB / 329.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.006755, allocations: 27.67 kB / 329.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.006819, allocations: 85.91 kB / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.00682, allocations: 0 / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.00686, allocations: 16.48 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.006994, allocations: 313.2 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.007006, allocations: 1.156 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.007037, allocations: 38.2 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.007065, allocations: 12.09 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007066, allocations: 5 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001122/0.007178, allocations: 42.17 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.00719, allocations: 9.703 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.007193, allocations: 0 / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007205, allocations: 0 / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.007249, allocations: 2.688 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007253, allocations: 2.078 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.007286, allocations: 5.031 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.007301, allocations: 5.891 kB / 329.6 MB, free: 12.9 MB / 302.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.0001084/0.007409, allocations: 184.5 kB / 329.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.007493, allocations: 114.9 kB / 329.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.00755, allocations: 111.6 kB / 330 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.187e-05/0.007632, allocations: 178.3 kB / 330.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.183e-05/0.007724, allocations: 182.1 kB / 330.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.836e-05/0.007802, allocations: 178.7 kB / 330.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.008031, allocations: 359.5 kB / 330.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.416e-05/0.008085, allocations: 111.8 kB / 331 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.00813, allocations: 105.6 kB / 331.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.008219, allocations: 186.9 kB / 331.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.008299, allocations: 183.1 kB / 331.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.43e-05/0.008373, allocations: 182.6 kB / 331.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.582e-05/0.008449, allocations: 177.1 kB / 331.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.008612, allocations: 303.5 kB / 332.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.008668, allocations: 112.2 kB / 332.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.008765, allocations: 183.8 kB / 332.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.008869, allocations: 102.8 kB / 332.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.008952, allocations: 178.1 kB / 332.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.008996, allocations: 111.1 kB / 332.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.009057, allocations: 88.25 kB / 332.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009057, allocations: 0 / 332.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.009355, allocations: 46 kB / 332.9 MB, free: 9.504 MB / 302.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.0003857/0.00974, allocations: 241.8 kB / 333.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.352e-05/0.009814, allocations: 7.375 kB / 333.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009815, allocations: 3.938 kB / 333.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.009819, allocations: 9.219 kB / 333.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.01022, allocations: 459.7 kB / 333.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.01043, allocations: 170.4 kB / 333.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.301e-05/0.01049, allocations: 58.91 kB / 333.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.01054, allocations: 11.2 kB / 333.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.01056, allocations: 11.94 kB / 333.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.01056, allocations: 0 / 333.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of Templates: time 0.003661/0.01423, allocations: 0.9953 MB / 334.9 MB, free: 8.391 MB / 302.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/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.047350466251373]