Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 59.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.38 MB / 426.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001867/0.1107, allocations: 0.5026 MB / 426.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1128, allocations: 1.459 MB / 428.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.1128, allocations: 0 / 428.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.1129, allocations: 3.938 kB / 428.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.1129, allocations: 0 / 428.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.1136, allocations: 181.2 kB / 428.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.1137, allocations: 15.98 kB / 428.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.1137, allocations: 4 kB / 428.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.1137, allocations: 7.984 kB / 428.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.1138, allocations: 11.92 kB / 428.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1138, allocations: 0 / 428.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.1141, allocations: 178.2 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1141, allocations: 0 / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1142, allocations: 11.92 kB / 428.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1144, allocations: 123.7 kB / 428.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1144, allocations: 0 / 428.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1144, allocations: 4 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1144, allocations: 3.938 kB / 428.8 MB, free: 2.137 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.0004377/0.1149, allocations: 347.3 kB / 429.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1149, allocations: 12.03 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.115, allocations: 34.75 kB / 429.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1151, allocations: 4.938 kB / 429.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1153, allocations: 160.4 kB / 429.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1153, allocations: 384 / 429.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1153, allocations: 3.938 kB / 429.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.1154, allocations: 37.69 kB / 429.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1154, allocations: 0 / 429.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1154, allocations: 0 / 429.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1154, allocations: 4 kB / 429.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.1154, allocations: 3.938 kB / 429.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1159, allocations: 488.9 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.811e-05/0.116, allocations: 173.1 kB / 430.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.116, allocations: 80.14 kB / 430.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.1161, allocations: 79.28 kB / 430.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.1161, allocations: 105.8 kB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.1161, allocations: 0 / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.92e-05/0.1162, allocations: 33.59 kB / 430.4 MB, free: 412 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1163, allocations: 156.4 kB / 430.5 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1164, allocations: 113.8 kB / 430.6 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1164, allocations: 25.7 kB / 430.7 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.1165, allocations: 80.14 kB / 430.7 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1165, allocations: 0 / 430.7 MB, free: 16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1165, allocations: 25.7 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1167, allocations: 314.8 kB / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.1167, allocations: 4 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.1167, allocations: 11.92 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.1167, allocations: 9.109 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1167, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001236/0.1169, allocations: 49.59 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1169, allocations: 4 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1169, allocations: 0 / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1169, allocations: 0 / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.1169, allocations: 4 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.117, allocations: 4.125 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.117, allocations: 0 / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.117, allocations: 3.984 kB / 431.2 MB, free: 15.55 MB / 366.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.0001156/0.1171, allocations: 189.1 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.1172, allocations: 104.9 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.1173, allocations: 112.5 kB / 431.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-05/0.1173, allocations: 180.3 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-05/0.1174, allocations: 188.2 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.968e-05/0.1175, allocations: 176.3 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1178, allocations: 413.1 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.1178, allocations: 101 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1179, allocations: 105 kB / 432.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.1179, allocations: 188.2 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.118, allocations: 180.2 kB / 433.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.861e-05/0.1181, allocations: 184.2 kB / 433.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.686e-05/0.1182, allocations: 180.3 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1184, allocations: 307.7 kB / 433.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1185, allocations: 186.1 kB / 433.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.1186, allocations: 184.1 kB / 434.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1187, allocations: 105 kB / 434.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.1188, allocations: 176.3 kB / 434.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.1188, allocations: 104.9 kB / 434.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.1189, allocations: 95.27 kB / 434.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1189, allocations: 0 / 434.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1192, allocations: 43.88 kB / 434.6 MB, free: 11.89 MB / 366.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.0008107/0.12, allocations: 0.8701 MB / 435.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.1201, allocations: 7.938 kB / 435.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1201, allocations: 0 / 435.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.1201, allocations: 0 / 435.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1205, allocations: 465.5 kB / 435.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.1209, allocations: 202 kB / 436.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1213, allocations: 0.6768 MB / 436.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1214, allocations: 11.98 kB / 436.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.1214, allocations: 11.44 kB / 436.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1214, allocations: 0 / 436.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.1461, allocations: 1.898 MB / 438.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.832, allocations: 7.922 kB / 438.7 MB, free: 7.773 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.409774285973981]