Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008929/0.008929, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.002515/0.002515, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 259 MB, free: 8.047 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.06 kB / 379.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 53.37 MB / 433.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002116/0.3333, allocations: 0.5021 MB / 433.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.3357, allocations: 1.47 MB / 435.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.3358, allocations: 0 / 435.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.3358, allocations: 0 / 435.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.3358, allocations: 4 kB / 435.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.3366, allocations: 186.1 kB / 435.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.3367, allocations: 11.94 kB / 435.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.3367, allocations: 7.984 kB / 435.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.3368, allocations: 11.94 kB / 435.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.3369, allocations: 7.984 kB / 435.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3369, allocations: 4 kB / 435.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.3372, allocations: 175.8 kB / 435.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3372, allocations: 7.922 kB / 435.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.3373, allocations: 8 kB / 435.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3375, allocations: 117 kB / 435.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3375, allocations: 0 / 435.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3375, allocations: 0 / 435.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3375, allocations: 0 / 435.7 MB, free: 4.512 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.0004224/0.338, allocations: 286.1 kB / 435.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.338, allocations: 8.031 kB / 435.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3382, allocations: 4.938 kB / 435.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3383, allocations: 106.5 kB / 436.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3383, allocations: 384 / 436.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3383, allocations: 8.125 kB / 436.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3384, allocations: 37.69 kB / 436.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3384, allocations: 3.938 kB / 436.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3385, allocations: 0 / 436.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3385, allocations: 0 / 436.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.3385, allocations: 0 / 436.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.339, allocations: 371 kB / 436.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3391, allocations: 169.1 kB / 436.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.3391, allocations: 88.08 kB / 436.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.3392, allocations: 79.22 kB / 436.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.3392, allocations: 109.8 kB / 436.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3392, allocations: 0 / 436.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.482e-05/0.3393, allocations: 33.66 kB / 436.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3394, allocations: 152.4 kB / 437.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3395, allocations: 109.8 kB / 437.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3396, allocations: 29.7 kB / 437.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.3396, allocations: 80.14 kB / 437.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3396, allocations: 0 / 437.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3397, allocations: 21.7 kB / 437.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3398, allocations: 318.8 kB / 437.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.3398, allocations: 8.188 kB / 437.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.3399, allocations: 7.938 kB / 437.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.3399, allocations: 8.859 kB / 437.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3399, allocations: 0 / 437.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.34, allocations: 41.64 kB / 437.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.34, allocations: 4.125 kB / 437.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.34, allocations: 4 kB / 437.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.34, allocations: 4 kB / 437.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.3401, allocations: 0 / 437.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3401, allocations: 0 / 437.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.3401, allocations: 4 kB / 437.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3401, allocations: 4 kB / 437.7 MB, free: 2.258 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.0001314/0.3403, allocations: 189 kB / 437.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.3404, allocations: 109 kB / 438 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.3404, allocations: 108.5 kB / 438.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.579e-05/0.3405, allocations: 180.2 kB / 438.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.213e-05/0.3406, allocations: 184.3 kB / 438.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.819e-05/0.3407, allocations: 180.2 kB / 438.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3409, allocations: 384.2 kB / 439 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/0.341, allocations: 109 kB / 439.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.341, allocations: 104.9 kB / 439.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.3411, allocations: 180.3 kB / 439.4 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/0.3412, allocations: 184.2 kB / 439.6 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.143e-05/0.3413, allocations: 176.5 kB / 439.8 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001049/0.3414, allocations: 184.2 kB / 439.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3416, allocations: 315.7 kB / 440.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.3416, allocations: 108.9 kB / 440.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/0.3417, allocations: 180.3 kB / 440.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3419, allocations: 105 kB / 440.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.3419, allocations: 188.2 kB / 440.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.342, allocations: 101 kB / 440.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.3421, allocations: 91.27 kB / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3421, allocations: 0 / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.3424, allocations: 39.88 kB / 441 MB, free: 14.73 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.0004464/0.3428, allocations: 256.4 kB / 441.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.3429, allocations: 7.938 kB / 441.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3429, allocations: 0 / 441.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3429, allocations: 0 / 441.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3434, allocations: 455.7 kB / 441.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.3437, allocations: 194.1 kB / 441.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.344, allocations: 0.669 MB / 442.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.344, allocations: 11.44 kB / 442.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.344, allocations: 0 / 442.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003188/0.3472, allocations: 1.007 MB / 443.6 MB, free: 12.08 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.16145320283249]