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.001432/0.001432, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.00154/0.00154, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 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 1.433/1.433, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 52.3 kB / 348.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00455/0.293, allocations: 2.276 MB / 399.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2945, allocations: 0.7933 MB / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.2945, allocations: 0 / 400.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.2946, allocations: 11.8 kB / 400.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2947, allocations: 3.016 kB / 400.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2954, allocations: 209.1 kB / 400.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.2955, allocations: 20.41 kB / 400.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.2955, allocations: 6.797 kB / 400.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.2956, allocations: 22.31 kB / 400.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.2957, allocations: 8 kB / 400.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2957, allocations: 1.469 kB / 400.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.296, allocations: 190.1 kB / 401.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.296, allocations: 10.11 kB / 401.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.2961, allocations: 11.23 kB / 401.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2964, allocations: 116.5 kB / 401.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2964, allocations: 0.7969 kB / 401.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2964, allocations: 0 / 401.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2964, allocations: 3.938 kB / 401.3 MB, free: 7.105 MB / 318.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.0003605/0.2968, allocations: 284.2 kB / 401.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2968, allocations: 12.77 kB / 401.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.2968, allocations: 6.141 kB / 401.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.297, allocations: 112.4 kB / 401.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.297, allocations: 384 / 401.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.297, allocations: 1.781 kB / 401.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/0.2971, allocations: 35.45 kB / 401.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2971, allocations: 5.844 kB / 401.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2971, allocations: 0 / 401.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2971, allocations: 4 kB / 401.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.2971, allocations: 4.312 kB / 401.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.2974, allocations: 371.1 kB / 402.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.2975, allocations: 165.8 kB / 402.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.2975, allocations: 85.11 kB / 402.3 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2975, allocations: 83.22 kB / 402.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2975, allocations: 107.5 kB / 402.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2975, allocations: 1.469 kB / 402.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.574e-05/0.2976, allocations: 35.72 kB / 402.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2977, allocations: 153 kB / 402.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.2977, allocations: 120.7 kB / 402.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2978, allocations: 30.86 kB / 402.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2978, allocations: 86.45 kB / 402.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.2978, allocations: 1.031 kB / 402.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2978, allocations: 15.8 kB / 403 MB, free: 5.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.2979, allocations: 316.9 kB / 403.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.2979, allocations: 5.875 kB / 403.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.2979, allocations: 10.05 kB / 403.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.2979, allocations: 15.05 kB / 403.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.298, allocations: 5.938 kB / 403.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001093/0.2981, allocations: 43.47 kB / 403.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2981, allocations: 5.594 kB / 403.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2981, allocations: 3.938 kB / 403.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2981, allocations: 1.828 kB / 403.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.2981, allocations: 1.906 kB / 403.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2981, allocations: 0.9688 kB / 403.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.2982, allocations: 1.125 kB / 403.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2982, allocations: 2.875 kB / 403.4 MB, free: 4.965 MB / 318.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 6e-05/0.2983, allocations: 198.4 kB / 403.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2983, allocations: 108.9 kB / 403.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.2983, allocations: 110.8 kB / 403.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.2984, allocations: 182.4 kB / 403.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/0.2984, allocations: 178.4 kB / 404.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.2984, allocations: 180.9 kB / 404.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2986, allocations: 388.8 kB / 404.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.2986, allocations: 103.4 kB / 404.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.2986, allocations: 106.6 kB / 404.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.913e-05/0.2986, allocations: 178.5 kB / 405.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.2987, allocations: 184.8 kB / 405.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.255e-05/0.2987, allocations: 182.3 kB / 405.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/0.2987, allocations: 178.2 kB / 405.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.2988, allocations: 310.9 kB / 405.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.2988, allocations: 110.6 kB / 406 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.2989, allocations: 183 kB / 406.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.299, allocations: 103.2 kB / 406.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.299, allocations: 182.1 kB / 406.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.299, allocations: 102.9 kB / 406.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.2991, allocations: 97.14 kB / 406.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2991, allocations: 0 / 406.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.2994, allocations: 37.55 kB / 406.7 MB, free: 1.516 MB / 318.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.0005556/0.2999, allocations: 269 kB / 406.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3, allocations: 12.95 kB / 407 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3, allocations: 0 / 407 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3, allocations: 1.344 kB / 407 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3003, allocations: 465.5 kB / 407.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.3005, allocations: 199.2 kB / 407.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3007, allocations: 0.6842 MB / 408.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3007, allocations: 9.516 kB / 408.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3007, allocations: 0 / 408.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Templates: time 0.003601/0.3043, allocations: 1.12 MB / 409.4 MB, free: 15.81 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.954229086870328]