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.00141/0.00141, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00149/0.00149, allocations: 161.7 kB / 24.26 MB, free: 176 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.476/1.476, allocations: 177.2 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.283e-06/1.283e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.474e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001511/0.001536, allocations: 0.5148 MB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.003838, allocations: 1.401 MB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.003865, allocations: 0 / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.003882, allocations: 3.938 kB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.003916, allocations: 0 / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.004587, allocations: 183.4 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.00464, allocations: 19.92 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.004676, allocations: 4 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.004723, allocations: 7.984 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.004781, allocations: 12 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.004796, allocations: 0 / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.005083, allocations: 159.8 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.005096, allocations: 3.938 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.00512, allocations: 7.984 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.0054, allocations: 159.6 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005402, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005403, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.005407, 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.0003686/0.005775, allocations: 270.2 kB / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005811, allocations: 12.03 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.005957, allocations: 8.859 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.00607, allocations: 109.7 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.006081, allocations: 384 / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.00609, allocations: 384 / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006219, allocations: 63.97 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.00623, allocations: 7.938 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006241, allocations: 0 / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.006244, allocations: 0 / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.006268, allocations: 7.922 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.006664, allocations: 343.7 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.006954, allocations: 165.1 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.007002, allocations: 84.08 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.007043, allocations: 79.27 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/0.007126, allocations: 117.8 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.007127, allocations: 0 / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.776e-05/0.007204, allocations: 33.66 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.007306, allocations: 156.4 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.007423, allocations: 105.8 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.007444, allocations: 25.7 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.00751, allocations: 88.14 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.007512, allocations: 0 / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.007552, allocations: 17.7 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.007719, allocations: 310.8 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.007735, allocations: 8 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.00777, allocations: 25.7 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.0078, allocations: 20.88 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007802, allocations: 256 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001293/0.007931, allocations: 41.59 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.007944, allocations: 4 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.00795, allocations: 4 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.007966, allocations: 4 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.00801, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.008023, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.008056, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.008073, allocations: 7.984 kB / 276.8 MB, free: 13.08 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.0001358/0.008208, allocations: 189.2 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.008296, allocations: 116.8 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.008361, allocations: 104.5 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.863e-05/0.00846, allocations: 188.2 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/0.008563, allocations: 180.2 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.62e-05/0.008659, allocations: 180.3 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.008925, allocations: 352.8 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.421e-05/0.008989, allocations: 109 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.009049, allocations: 108.9 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.59e-05/0.009145, allocations: 180.2 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.009245, allocations: 184.3 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.781e-05/0.009343, allocations: 180.2 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001062/0.009449, allocations: 176.3 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.009654, allocations: 311.8 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.009722, allocations: 104.9 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.00984, allocations: 184.2 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.009967, allocations: 105 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.01007, allocations: 180.2 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.01013, allocations: 109 kB / 280 MB, free: 9.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.0102, allocations: 91.27 kB / 280.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0102, allocations: 4 kB / 280.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.0105, allocations: 39.88 kB / 280.1 MB, free: 9.59 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.000449/0.01095, allocations: 249.9 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.01102, allocations: 8.266 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01102, allocations: 0 / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.01102, allocations: 0 / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.01149, allocations: 459.7 kB / 280.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.01173, allocations: 176 kB / 281 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.01179, allocations: 59.34 kB / 281.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.01186, allocations: 15.92 kB / 281.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.01188, allocations: 8.5 kB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01188, allocations: 0 / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of Templates: time 0.003847/0.01573, allocations: 1.015 MB / 282.1 MB, free: 7.574 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=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.110423865029588]