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.001618/0.001618, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001822/0.001822, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.354/1.354, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 45.94 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002038/0.1154, allocations: 0.4987 MB / 351.2 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1174, allocations: 1.379 MB / 352.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1174, allocations: 0 / 352.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1175, allocations: 0 / 352.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.1175, allocations: 3.938 kB / 352.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.1182, allocations: 174.5 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.1183, allocations: 19.92 kB / 352.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1183, allocations: 4 kB / 352.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1184, allocations: 4 kB / 352.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1185, allocations: 15.91 kB / 352.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1185, allocations: 4 kB / 352.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1187, allocations: 119.9 kB / 352.9 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.1187, allocations: 7.969 kB / 352.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1188, allocations: 7.938 kB / 353 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.119, allocations: 107.8 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.119, allocations: 7.938 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.119, allocations: 4 kB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.119, allocations: 0 / 353.1 MB, free: 2.043 MB / 286.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.0004116/0.1195, allocations: 347.7 kB / 353.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1195, allocations: 15.89 kB / 353.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1196, allocations: 4.875 kB / 353.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1197, allocations: 164.3 kB / 353.6 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1197, allocations: 8.375 kB / 353.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1197, allocations: 4.125 kB / 353.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1199, allocations: 45.62 kB / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1199, allocations: 0 / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1199, allocations: 0 / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1199, allocations: 0 / 353.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.1199, allocations: 4 kB / 353.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1204, allocations: 477 kB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.1205, allocations: 177.1 kB / 354.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.1205, allocations: 84.14 kB / 354.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1206, allocations: 75.28 kB / 354.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1206, allocations: 105.8 kB / 354.5 MB, free: 388 kB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.1206, allocations: 0 / 354.5 MB, free: 388 kB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.214e-05/0.1207, allocations: 33.69 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1208, allocations: 156.4 kB / 354.7 MB, free: 172 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1209, allocations: 109.8 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.121, allocations: 33.64 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.121, allocations: 84.05 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.1211, allocations: 0 / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1211, allocations: 17.7 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1212, allocations: 318.8 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.1212, allocations: 8 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.1213, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.1213, allocations: 8.859 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1213, allocations: 0 / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.1214, allocations: 41.62 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1215, allocations: 4 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1215, allocations: 0 / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1215, allocations: 4 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.1216, allocations: 3.938 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1216, allocations: 8.109 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.1216, allocations: 4 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1216, allocations: 4 kB / 355.4 MB, free: 15.49 MB / 302.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.0001079/0.1217, allocations: 185.1 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.1218, allocations: 109 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1219, allocations: 104.5 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.834e-05/0.122, allocations: 184.2 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.078e-05/0.122, allocations: 184.3 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/0.1221, allocations: 180.2 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1224, allocations: 413.1 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-05/0.1224, allocations: 108.9 kB / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.1225, allocations: 101.1 kB / 356.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.79e-05/0.1225, allocations: 180.3 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.1226, allocations: 188.5 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-05/0.1227, allocations: 180.3 kB / 357.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.1228, allocations: 184.2 kB / 357.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1229, allocations: 311.8 kB / 357.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.123, allocations: 189.9 kB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.1231, allocations: 180.2 kB / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1232, allocations: 108.9 kB / 358.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.1233, allocations: 176.3 kB / 358.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.1233, allocations: 105 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.1234, allocations: 91.27 kB / 358.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1234, allocations: 0 / 358.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1237, allocations: 36 kB / 358.8 MB, free: 11.84 MB / 302.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.0004373/0.1242, allocations: 250.2 kB / 359 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1243, allocations: 8 kB / 359 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1243, allocations: 3.938 kB / 359 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/0.1243, allocations: 0 / 359 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1247, allocations: 459.6 kB / 359.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.1249, allocations: 201.9 kB / 359.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1252, allocations: 0.6729 MB / 360.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.1252, allocations: 7.438 kB / 360.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1252, allocations: 0 / 360.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002715/0.128, allocations: 0.9707 MB / 361.3 MB, free: 9.23 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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