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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB 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.001962/0.001962, allocations: 71.89 kB / 359 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2794, allocations: 50.54 MB / 409.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00168/0.2812, allocations: 0.4887 MB / 410 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2832, allocations: 1.446 MB / 411.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2832, allocations: 0 / 411.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.2832, allocations: 3.938 kB / 411.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.2833, allocations: 0 / 411.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2839, allocations: 181.7 kB / 411.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.284, allocations: 15.98 kB / 411.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.2841, allocations: 0 / 411.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.2841, allocations: 19.86 kB / 411.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.2842, allocations: 11.98 kB / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2842, allocations: 0 / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2845, allocations: 163.8 kB / 411.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.2845, allocations: 0 / 411.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.2846, allocations: 23.84 kB / 411.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.2848, allocations: 123.5 kB / 412 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2848, allocations: 4 kB / 412 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2848, allocations: 0 / 412 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2849, allocations: 0 / 412 MB, free: 14.94 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.0004005/0.2853, allocations: 351.2 kB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2853, allocations: 8.031 kB / 412.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.2855, allocations: 8.938 kB / 412.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2856, allocations: 164.4 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2856, allocations: 384 / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2856, allocations: 12.12 kB / 412.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.2858, allocations: 33.69 kB / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2858, allocations: 0 / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2858, allocations: 0 / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2858, allocations: 0 / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.457e-05/0.2858, allocations: 3.938 kB / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.2863, allocations: 476.9 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.75e-05/0.2864, allocations: 177.2 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.2865, allocations: 80.14 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2865, allocations: 75.28 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.2866, allocations: 105.8 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.685e-06/0.2866, allocations: 0 / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.2866, allocations: 37.64 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.2867, allocations: 156.3 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2869, allocations: 109.8 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2869, allocations: 25.7 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.287, allocations: 84.14 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.287, allocations: 0 / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.287, allocations: 25.73 kB / 413.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2871, allocations: 314.8 kB / 414.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.2872, allocations: 4 kB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.2872, allocations: 4 kB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.2872, allocations: 12.8 kB / 414.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2872, allocations: 3.984 kB / 414.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.2873, allocations: 41.66 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2874, allocations: 4 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2874, allocations: 3.984 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2874, allocations: 0 / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.2875, allocations: 8.125 kB / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2875, allocations: 0 / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.2875, allocations: 0 / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.2875, allocations: 4 kB / 414.3 MB, free: 12.39 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.0001104/0.2877, allocations: 193 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.2877, allocations: 108.9 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.2878, allocations: 104.5 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.913e-05/0.2879, allocations: 184.3 kB / 414.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.068e-05/0.288, allocations: 180.2 kB / 415.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/0.288, allocations: 184.2 kB / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2883, allocations: 409.1 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.2884, allocations: 105.2 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.2884, allocations: 105 kB / 415.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.2885, allocations: 184.2 kB / 416 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.2886, allocations: 176.3 kB / 416.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.53e-05/0.2887, allocations: 188.4 kB / 416.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-05/0.2888, allocations: 184.3 kB / 416.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2889, allocations: 307.7 kB / 416.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.289, allocations: 182.1 kB / 417 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.2891, allocations: 192.2 kB / 417.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2892, allocations: 101 kB / 417.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.2893, allocations: 184.1 kB / 417.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.2894, allocations: 101 kB / 417.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.2894, allocations: 95.27 kB / 417.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2894, allocations: 0 / 417.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.2897, allocations: 39.88 kB / 417.7 MB, free: 8.73 MB / 334.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.0004557/0.2902, allocations: 264.8 kB / 418 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.2903, allocations: 4 kB / 418 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2903, allocations: 0 / 418 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.2903, allocations: 7.922 kB / 418 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.2907, allocations: 455.7 kB / 418.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.2909, allocations: 156.4 kB / 418.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.2912, allocations: 0.6768 MB / 419.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.2914, allocations: 11.98 kB / 419.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.2914, allocations: 7.438 kB / 419.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2914, allocations: 0 / 419.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of Templates: time 0.003653/0.295, allocations: 0.9617 MB / 420.3 MB, free: 6.16 MB / 334.1 MB 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/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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches