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.001393/0.001393, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001423/0.001423, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.334/1.334, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 56.06 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 49.44 MB / 350 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001921/0.1098, allocations: 0.5596 MB / 350.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1117, allocations: 1.414 MB / 352 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1117, allocations: 0 / 352 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.1118, allocations: 0 / 352 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.1118, allocations: 3.938 kB / 352 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1123, allocations: 142.4 kB / 352.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.1124, allocations: 15.94 kB / 352.2 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.1124, allocations: 3.984 kB / 352.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.1125, allocations: 7.938 kB / 352.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.1126, allocations: 15.98 kB / 352.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1126, allocations: 0 / 352.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1128, allocations: 119.8 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1128, allocations: 3.984 kB / 352.3 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1128, allocations: 11.94 kB / 352.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.113, allocations: 75.89 kB / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.113, allocations: 4 kB / 352.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.113, allocations: 0 / 352.4 MB, free: 2.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.113, allocations: 0 / 352.4 MB, free: 2.48 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.0003409/0.1134, allocations: 350.2 kB / 352.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1134, allocations: 8.031 kB / 352.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1134, allocations: 4.938 kB / 352.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1136, allocations: 172.2 kB / 352.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.1136, allocations: 384 / 352.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1136, allocations: 4.125 kB / 352.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.1137, allocations: 41.62 kB / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1137, allocations: 0 / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1137, allocations: 0 / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1137, allocations: 0 / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.1138, allocations: 4 kB / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1142, allocations: 473.3 kB / 353.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.1143, allocations: 169.1 kB / 353.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.1143, allocations: 84.08 kB / 353.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1143, allocations: 79.27 kB / 353.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.1144, allocations: 109.8 kB / 353.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1144, allocations: 0 / 353.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.16e-05/0.1145, allocations: 25.7 kB / 353.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.1146, allocations: 160.4 kB / 354.1 MB, free: 0.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1147, allocations: 109.8 kB / 354.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1147, allocations: 25.7 kB / 354.2 MB, free: 488 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.1148, allocations: 91.98 kB / 354.3 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.1148, allocations: 0 / 354.3 MB, free: 392 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.1148, allocations: 13.72 kB / 354.3 MB, free: 372 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1149, allocations: 322.8 kB / 354.6 MB, free: 40 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.115, allocations: 7.875 kB / 354.6 MB, free: 32 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.115, allocations: 8 kB / 354.6 MB, free: 24 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.115, allocations: 8.859 kB / 354.6 MB, free: 12 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.115, allocations: 0 / 354.6 MB, free: 12 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001239/0.1151, allocations: 37.69 kB / 354.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1152, allocations: 8 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1152, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1152, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/0.1152, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1153, allocations: 0 / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1153, allocations: 8.125 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1153, allocations: 0 / 354.7 MB, free: 15.95 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 9.821e-05/0.1154, allocations: 193 kB / 354.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.1155, allocations: 105 kB / 355 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.1156, allocations: 112.4 kB / 355.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/0.1156, allocations: 184.2 kB / 355.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-05/0.1157, allocations: 180.3 kB / 355.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/0.1158, allocations: 180.2 kB / 355.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.116, allocations: 409.4 kB / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.116, allocations: 105 kB / 356.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1161, allocations: 108.9 kB / 356.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.569e-05/0.1161, allocations: 188.3 kB / 356.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.1162, allocations: 184.2 kB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/0.1163, allocations: 176.3 kB / 356.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.594e-05/0.1163, allocations: 180.2 kB / 356.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1165, allocations: 311.7 kB / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.1166, allocations: 193.9 kB / 357.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.1166, allocations: 176.3 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1168, allocations: 105 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.1168, allocations: 184.2 kB / 357.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.1169, allocations: 101 kB / 358 MB, free: 12.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.867e-05/0.1169, allocations: 87.28 kB / 358.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1169, allocations: 4 kB / 358.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1172, allocations: 39.98 kB / 358.1 MB, free: 12.29 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.000413/0.1177, allocations: 257.2 kB / 358.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.1177, allocations: 11.94 kB / 358.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1177, allocations: 0 / 358.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.1178, allocations: 4 kB / 358.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1181, allocations: 0.5224 MB / 358.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.1184, allocations: 196 kB / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1186, allocations: 0.6731 MB / 359.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.1187, allocations: 11.44 kB / 359.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1187, allocations: 0 / 359.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Templates: time 0.002629/0.1213, allocations: 0.9561 MB / 360.7 MB, free: 9.617 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