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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 111.6 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009406/0.0009406, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.246, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001497/0.2475, allocations: 0.4981 MB / 401.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2491, allocations: 1.388 MB / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.2492, allocations: 0 / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.2492, allocations: 3.938 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.404e-05/0.2492, allocations: 0 / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.2498, allocations: 175.2 kB / 402.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.2499, allocations: 11.98 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.25, allocations: 4 kB / 402.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.25, allocations: 11.98 kB / 402.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.2501, allocations: 15.92 kB / 402.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2501, allocations: 0 / 402.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.2503, allocations: 165.9 kB / 403 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.2504, allocations: 8 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.2504, allocations: 7.938 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.2506, allocations: 115.8 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2506, allocations: 0 / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2506, allocations: 0 / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2506, allocations: 0 / 403.1 MB, free: 6.473 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.0003295/0.251, allocations: 355.2 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.251, allocations: 8.031 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.251, allocations: 4.938 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2512, allocations: 164.4 kB / 403.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.2512, allocations: 4.375 kB / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.2512, allocations: 4.125 kB / 403.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.2513, allocations: 33.7 kB / 403.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2514, allocations: 0 / 403.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2514, allocations: 4 kB / 403.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2514, allocations: 0 / 403.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.2514, allocations: 3.984 kB / 403.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.2518, allocations: 481 kB / 404.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.2519, allocations: 169.1 kB / 404.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.2519, allocations: 84.14 kB / 404.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.252, allocations: 79.22 kB / 404.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.252, allocations: 105.8 kB / 404.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.252, allocations: 4 kB / 404.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.888e-05/0.2521, allocations: 37.53 kB / 404.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.2522, allocations: 156.4 kB / 404.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.2523, allocations: 109.8 kB / 404.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2523, allocations: 25.7 kB / 404.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2523, allocations: 84.14 kB / 405 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2523, allocations: 0 / 405 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.2524, allocations: 13.72 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2525, allocations: 326.8 kB / 405.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.2525, allocations: 0 / 405.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.2525, allocations: 7.938 kB / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.2526, allocations: 8.859 kB / 405.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2526, allocations: 0 / 405.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.875e-05/0.2527, allocations: 37.64 kB / 405.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2527, allocations: 4 kB / 405.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2527, allocations: 4.125 kB / 405.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2527, allocations: 0 / 405.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.2528, allocations: 7.984 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2528, allocations: 0 / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.2528, allocations: 4 kB / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.2528, allocations: 256 / 405.4 MB, free: 3.941 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 9.956e-05/0.2529, allocations: 189.1 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.253, allocations: 104.9 kB / 405.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.2531, allocations: 120.4 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/0.2531, allocations: 184.3 kB / 406 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.458e-05/0.2532, allocations: 184.2 kB / 406.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/0.2533, allocations: 180.3 kB / 406.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2535, allocations: 405.2 kB / 406.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.2535, allocations: 108.9 kB / 406.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.2536, allocations: 105 kB / 406.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/0.2536, allocations: 188.2 kB / 407.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.2537, allocations: 176.3 kB / 407.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-05/0.2537, allocations: 180.3 kB / 407.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.49e-05/0.2538, allocations: 180.4 kB / 407.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2539, allocations: 319.7 kB / 408 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.254, allocations: 178.1 kB / 408.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.254, allocations: 184.2 kB / 408.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.2541, allocations: 105 kB / 408.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2542, allocations: 184.2 kB / 408.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2542, allocations: 108.9 kB / 408.7 MB, free: 412 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.844e-05/0.2543, allocations: 91.22 kB / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2543, allocations: 0 / 408.8 MB, free: 320 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.2546, allocations: 39.98 kB / 408.8 MB, free: 280 kB / 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.0003717/0.255, allocations: 260.3 kB / 409.1 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.255, allocations: 4 kB / 409.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.255, allocations: 0 / 409.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.255, allocations: 0 / 409.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2554, allocations: 462.7 kB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.2556, allocations: 168.4 kB / 409.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2558, allocations: 0.6805 MB / 410.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.2559, allocations: 7.984 kB / 410.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2559, allocations: 11.44 kB / 410.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2559, allocations: 0 / 410.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Templates: time 0.003123/0.2591, allocations: 0.9148 MB / 411.3 MB, free: 13.74 MB / 334.1 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/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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches