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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 123.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 192.3 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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=2500,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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 52.13 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001753/0.1038, allocations: 0.514 MB / 419.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1058, allocations: 1.387 MB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1058, allocations: 0 / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.1058, allocations: 4 kB / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.1058, allocations: 0 / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.1065, allocations: 179 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.1066, allocations: 19.92 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.895e-05/0.1066, allocations: 8 kB / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.1067, allocations: 15.92 kB / 421 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.1068, allocations: 15.92 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1068, allocations: 0 / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.1071, allocations: 159.8 kB / 421.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1071, allocations: 3.984 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1071, allocations: 4 kB / 421.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1073, allocations: 123.6 kB / 421.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1073, allocations: 0 / 421.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1073, allocations: 0 / 421.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1073, allocations: 0 / 421.3 MB, free: 9.688 MB / 350.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.0004456/0.1078, allocations: 355.3 kB / 421.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1078, allocations: 8.031 kB / 421.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1079, allocations: 8.891 kB / 421.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.108, allocations: 160.4 kB / 421.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.108, allocations: 4.312 kB / 421.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.108, allocations: 4.125 kB / 421.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1082, allocations: 37.62 kB / 421.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1082, allocations: 0 / 421.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1082, allocations: 0 / 421.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1082, allocations: 4 kB / 421.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.1082, allocations: 7.938 kB / 421.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.1087, allocations: 477 kB / 422.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1088, allocations: 173.1 kB / 422.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.1089, allocations: 80.14 kB / 422.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1089, allocations: 79.28 kB / 422.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.109, allocations: 109.8 kB / 422.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.109, allocations: 3.938 kB / 422.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.351e-05/0.1091, allocations: 29.7 kB / 422.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.1092, allocations: 152.4 kB / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1093, allocations: 109.8 kB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1093, allocations: 25.7 kB / 423.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.1094, allocations: 92.09 kB / 423.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1094, allocations: 0 / 423.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1094, allocations: 21.7 kB / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1096, allocations: 314.8 kB / 423.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.1096, allocations: 0 / 423.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.1096, allocations: 4 kB / 423.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.1096, allocations: 16.8 kB / 423.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1096, allocations: 4.094 kB / 423.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001213/0.1097, allocations: 33.69 kB / 423.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1098, allocations: 8 kB / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1098, allocations: 0 / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1098, allocations: 0 / 423.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.1098, allocations: 4 kB / 423.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1098, allocations: 256 / 423.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.1099, allocations: 0 / 423.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1099, allocations: 4 kB / 423.6 MB, free: 7.152 MB / 350.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.0001351/0.11, allocations: 197.1 kB / 423.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.1101, allocations: 112.9 kB / 423.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.1102, allocations: 108.5 kB / 424 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-05/0.1102, allocations: 176.3 kB / 424.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.024e-05/0.1103, allocations: 180.2 kB / 424.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.701e-05/0.1104, allocations: 184.3 kB / 424.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1107, allocations: 421.1 kB / 425 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-05/0.1107, allocations: 101 kB / 425.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.1108, allocations: 105 kB / 425.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/0.1108, allocations: 188.1 kB / 425.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.1109, allocations: 176.3 kB / 425.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.222e-05/0.111, allocations: 184.2 kB / 425.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.637e-05/0.1111, allocations: 184.3 kB / 425.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1112, allocations: 311.7 kB / 426.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.1113, allocations: 178.1 kB / 426.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.1114, allocations: 188.2 kB / 426.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1115, allocations: 105 kB / 426.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.1116, allocations: 180.2 kB / 426.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.1117, allocations: 101 kB / 426.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.912e-05/0.1117, allocations: 95.27 kB / 427 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1117, allocations: 0 / 427 MB, free: 3.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.112, allocations: 35.88 kB / 427.1 MB, free: 3.488 MB / 350.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.0004838/0.1125, allocations: 258.6 kB / 427.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.1126, allocations: 4 kB / 427.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1126, allocations: 0 / 427.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.1126, allocations: 7.938 kB / 427.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.113, allocations: 455.8 kB / 427.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.1133, allocations: 198 kB / 428 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1136, allocations: 0.6729 MB / 428.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1136, allocations: 11.44 kB / 428.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1136, allocations: 0 / 428.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Templates: time 0.002851/0.1164, allocations: 0.9694 MB / 429.6 MB, free: 0.8789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.709427278023213]