Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 175.4 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007284/0.0007285, allocations: 90.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2344, allocations: 47.56 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002118/0.2366, allocations: 1.911 MB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2376, allocations: 0.721 MB / 377.7 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.2377, allocations: 1.031 kB / 377.7 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.152e-05/0.2378, allocations: 5.969 kB / 377.7 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2379, allocations: 10 kB / 377.7 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.2385, allocations: 160.1 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2385, allocations: 22.83 kB / 377.9 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.2386, allocations: 5.109 kB / 377.9 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.2386, allocations: 9.406 kB / 377.9 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.2387, allocations: 13.77 kB / 377.9 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2387, allocations: 1.094 kB / 377.9 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.239, allocations: 128.5 kB / 378.1 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.239, allocations: 10.27 kB / 378.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.239, allocations: 32.05 kB / 378.1 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2392, allocations: 78.45 kB / 378.2 MB, free: 43.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2392, allocations: 1.188 kB / 378.2 MB, free: 43.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2392, allocations: 4 kB / 378.2 MB, free: 43.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2392, allocations: 0 / 378.2 MB, free: 43.03 MB / 298.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.000243/0.2395, allocations: 347.9 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2395, allocations: 14.02 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2395, allocations: 2.312 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2397, allocations: 167.6 kB / 378.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2397, allocations: 1.594 kB / 378.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.2397, allocations: 384 / 378.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.2398, allocations: 42.06 kB / 378.7 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2398, allocations: 5.281 kB / 378.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2398, allocations: 0 / 378.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2398, allocations: 3.938 kB / 378.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.2399, allocations: 2.875 kB / 378.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.2402, allocations: 399.3 kB / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.2402, allocations: 170.7 kB / 379.3 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.2402, allocations: 84.14 kB / 379.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2403, allocations: 76.56 kB / 379.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2403, allocations: 111.2 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2403, allocations: 0 / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.168e-05/0.2404, allocations: 27.14 kB / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2404, allocations: 158.1 kB / 379.8 MB, free: 41.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.2405, allocations: 114.5 kB / 379.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.2405, allocations: 29.7 kB / 379.9 MB, free: 41.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.2406, allocations: 93.5 kB / 380 MB, free: 41.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.2406, allocations: 1.594 kB / 380 MB, free: 41.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.2406, allocations: 0 / 380 MB, free: 41.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.2406, allocations: 315.9 kB / 380.3 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.2407, allocations: 1.25 kB / 380.3 MB, free: 40.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.2407, allocations: 7.219 kB / 380.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.2407, allocations: 24.16 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2407, allocations: 0 / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.776e-05/0.2408, allocations: 38.2 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2408, allocations: 4.219 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2409, allocations: 1.406 kB / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2409, allocations: 0 / 380.4 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.2409, allocations: 5.469 kB / 380.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2409, allocations: 1.438 kB / 380.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.241, allocations: 4 kB / 380.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.241, allocations: 9.484 kB / 380.4 MB, free: 40.68 MB / 298.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 5.809e-05/0.2411, allocations: 187.5 kB / 380.6 MB, free: 40.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.2411, allocations: 111.1 kB / 380.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.2411, allocations: 109.4 kB / 380.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.2412, allocations: 185.4 kB / 381 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-05/0.2412, allocations: 181.5 kB / 381.1 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.2412, allocations: 177.4 kB / 381.3 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.2414, allocations: 412.5 kB / 381.7 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.2414, allocations: 102.1 kB / 381.8 MB, free: 39.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.2414, allocations: 106 kB / 381.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.803e-05/0.2415, allocations: 185.4 kB / 382.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.2415, allocations: 185.5 kB / 382.3 MB, free: 38.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.552e-05/0.2415, allocations: 181.3 kB / 382.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/0.2416, allocations: 176.3 kB / 382.6 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.914e-05/0.2416, allocations: 316.1 kB / 382.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2417, allocations: 188.2 kB / 383.1 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.2417, allocations: 177.4 kB / 383.3 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2418, allocations: 106.1 kB / 383.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.2418, allocations: 185.3 kB / 383.6 MB, free: 37.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2419, allocations: 102 kB / 383.7 MB, free: 37.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.2419, allocations: 93.11 kB / 383.8 MB, free: 37.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2419, allocations: 0 / 383.8 MB, free: 37.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.2422, allocations: 44.84 kB / 383.8 MB, free: 37.09 MB / 298.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.0004331/0.2426, allocations: 263 kB / 384.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.2427, allocations: 7.156 kB / 384.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2427, allocations: 0 / 384.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.2428, allocations: 1 kB / 384.1 MB, free: 36.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.243, allocations: 0.5246 MB / 384.6 MB, free: 36.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.2432, allocations: 201.8 kB / 384.8 MB, free: 36.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2433, allocations: 0.6726 MB / 385.5 MB, free: 35.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.2434, allocations: 13.42 kB / 385.5 MB, free: 35.44 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2434, allocations: 0 / 385.5 MB, free: 35.44 MB / 298.7 MB Notification: Performance of Templates: time 0.002637/0.246, allocations: 1.124 MB / 386.6 MB, free: 34.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches