Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007856/0.0007854, allocations: 101.4 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 50.41 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3775, allocations: 76.23 MB / 479 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.3778, allocations: 75.95 kB / 479 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.3936, allocations: 5.248 MB / 484.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.548e-06/0.3937, allocations: 0 / 484.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3937, allocations: 3.938 kB / 484.3 MB, free: 14.8 MB / 362.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.0003961/0.3941, allocations: 359.4 kB / 484.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3942, allocations: 8.031 kB / 484.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3942, allocations: 4.875 kB / 484.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3943, allocations: 172.4 kB / 484.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3944, allocations: 384 / 484.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3944, allocations: 384 / 484.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3945, allocations: 30.27 kB / 484.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3945, allocations: 192 / 484.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3945, allocations: 3.938 kB / 484.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3946, allocations: 0 / 484.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.3946, allocations: 4 kB / 484.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3951, allocations: 477.1 kB / 485.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.3952, allocations: 173 kB / 485.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.3952, allocations: 80.14 kB / 485.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3953, allocations: 75.28 kB / 485.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.3953, allocations: 113.8 kB / 485.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.3953, allocations: 0 / 485.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.318e-05/0.3954, allocations: 37.55 kB / 485.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3955, allocations: 156.4 kB / 486 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3956, allocations: 105.9 kB / 486.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3957, allocations: 25.7 kB / 486.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3957, allocations: 88.12 kB / 486.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.3957, allocations: 0 / 486.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.3957, allocations: 3.938 kB / 486.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3959, allocations: 322.8 kB / 486.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.3959, allocations: 0 / 486.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.3959, allocations: 4 kB / 486.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.3959, allocations: 4.859 kB / 486.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3959, allocations: 0 / 486.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001172/0.3961, allocations: 49.56 kB / 486.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3961, allocations: 8 kB / 486.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3961, allocations: 0 / 486.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3961, allocations: 4.125 kB / 486.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.3962, allocations: 0 / 486.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3962, allocations: 0 / 486.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.3962, allocations: 4 kB / 486.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3963, allocations: 0 / 486.6 MB, free: 12.29 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.3964, allocations: 185.1 kB / 486.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.3964, allocations: 112.9 kB / 486.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.3965, allocations: 116.5 kB / 487 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.3966, allocations: 180.3 kB / 487.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.3966, allocations: 180.2 kB / 487.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.367e-05/0.3967, allocations: 184.2 kB / 487.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3969, allocations: 416.1 kB / 487.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/0.397, allocations: 104.9 kB / 488 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.397, allocations: 109 kB / 488.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.3971, allocations: 184.2 kB / 488.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.3971, allocations: 176.3 kB / 488.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.875e-05/0.3972, allocations: 180.3 kB / 488.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-05/0.3973, allocations: 184.2 kB / 488.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3974, allocations: 307.7 kB / 489.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.3975, allocations: 186.1 kB / 489.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.3976, allocations: 180.2 kB / 489.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.3977, allocations: 104.9 kB / 489.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3978, allocations: 180.3 kB / 489.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.3978, allocations: 108.9 kB / 489.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.3979, allocations: 91.27 kB / 489.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3979, allocations: 0 / 489.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000329/0.3982, allocations: 47.94 kB / 490 MB, free: 8.613 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/0.3987, allocations: 259 kB / 490.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.3988, allocations: 4 kB / 490.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3988, allocations: 0 / 490.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.3988, allocations: 0 / 490.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3992, allocations: 0.5302 MB / 490.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.3994, allocations: 166 kB / 490.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3996, allocations: 0.6731 MB / 491.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.3997, allocations: 15.97 kB / 491.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.3998, allocations: 7.438 kB / 491.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3998, allocations: 0 / 491.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of Templates: time 0.003933/0.4037, allocations: 0.8805 MB / 492.5 MB, free: 6.043 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches