Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 200.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2247, allocations: 50.55 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001332/0.2261, allocations: 0.5003 MB / 409.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2277, allocations: 1.438 MB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.2277, allocations: 0 / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.2277, allocations: 3.938 kB / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.2278, allocations: 0 / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2283, allocations: 183 kB / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.2284, allocations: 16 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.2284, allocations: 0 / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.2285, allocations: 11.92 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.2285, allocations: 11.98 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2285, allocations: 0 / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.2288, allocations: 175.8 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.2288, allocations: 0 / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.2288, allocations: 7.938 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.229, allocations: 119.8 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.229, allocations: 0 / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.229, allocations: 4 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.229, allocations: 4 kB / 411.7 MB, free: 15.09 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.0003117/0.2294, allocations: 347.2 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2294, allocations: 15.97 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2295, allocations: 4.938 kB / 412.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.2296, allocations: 164.4 kB / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2297, allocations: 384 / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.2297, allocations: 4.125 kB / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.2298, allocations: 33.7 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2298, allocations: 4 kB / 412.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2298, allocations: 4 kB / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2298, allocations: 0 / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.2298, allocations: 3.984 kB / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.2302, allocations: 477 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.2303, allocations: 165.1 kB / 412.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.2303, allocations: 88.14 kB / 413 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2303, allocations: 79.28 kB / 413.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.2304, allocations: 109.8 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.2304, allocations: 3.938 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.737e-05/0.2305, allocations: 37.53 kB / 413.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.2305, allocations: 156.4 kB / 413.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.2306, allocations: 113.8 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.2307, allocations: 25.7 kB / 413.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2307, allocations: 84.14 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.2307, allocations: 4 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2308, allocations: 17.75 kB / 413.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.2308, allocations: 322.8 kB / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2309, allocations: 0 / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.2309, allocations: 8 kB / 413.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.2309, allocations: 8.859 kB / 413.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2309, allocations: 0 / 413.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.665e-05/0.231, allocations: 37.64 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.231, allocations: 4 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.231, allocations: 0 / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2311, allocations: 0 / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.2311, allocations: 11.97 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2311, allocations: 0 / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.2312, allocations: 8.031 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2312, allocations: 4 kB / 414 MB, free: 12.54 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 7.988e-05/0.2313, allocations: 193 kB / 414.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.2313, allocations: 101 kB / 414.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.2314, allocations: 116.4 kB / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/0.2314, allocations: 176.3 kB / 414.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/0.2315, allocations: 188.2 kB / 414.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-05/0.2315, allocations: 180.2 kB / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2317, allocations: 405.2 kB / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.2318, allocations: 108.9 kB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.2318, allocations: 105 kB / 415.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.575e-05/0.2319, allocations: 184.2 kB / 415.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.2319, allocations: 180.3 kB / 415.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-05/0.232, allocations: 176.5 kB / 416.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-05/0.232, allocations: 188.2 kB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2322, allocations: 311.7 kB / 416.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.2322, allocations: 182.1 kB / 416.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.2323, allocations: 184.2 kB / 416.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.2324, allocations: 109.2 kB / 417 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.2325, allocations: 184.2 kB / 417.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2325, allocations: 108.9 kB / 417.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.2325, allocations: 87.28 kB / 417.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2326, allocations: 4 kB / 417.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000272/0.2328, allocations: 39.98 kB / 417.4 MB, free: 8.875 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.0003424/0.2332, allocations: 244.1 kB / 417.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.067e-05/0.2333, allocations: 4 kB / 417.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2333, allocations: 4.062 kB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2333, allocations: 0 / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2336, allocations: 460.9 kB / 418.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.2338, allocations: 168.2 kB / 418.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.234, allocations: 0.6729 MB / 419 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.2341, allocations: 15.98 kB / 419 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.2341, allocations: 11.42 kB / 419 MB, free: 7.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2341, allocations: 0 / 419 MB, free: 7.258 MB / 334.1 MB Notification: Performance of Templates: time 0.002924/0.237, allocations: 0.9518 MB / 419.9 MB, free: 6.309 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches