Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 215.6 kB / 22.25 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.111/1.111, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04931/0.04931, allocations: 14.03 MB / 326.5 MB, free: 4.613 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 72.45 kB / 453.5 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1264, allocations: 55.95 MB / 0.4975 GB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating): time 0.001615/0.128, allocations: 0.5242 MB / 0.498 GB, free: 9.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04011/0.1681, allocations: 51.49 MB / 0.5483 GB, free: 5.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.1682, allocations: 4 kB / 0.5483 GB, free: 5.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.1682, allocations: 0 / 0.5483 GB, free: 5.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.1683, allocations: 23.92 kB / 0.5483 GB, free: 5.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.1714, allocations: 1.076 MB / 0.5493 GB, free: 4.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1715, allocations: 47.94 kB / 0.5494 GB, free: 4.352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1716, allocations: 4 kB / 0.5494 GB, free: 4.348 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.1716, allocations: 55.84 kB / 0.5494 GB, free: 4.293 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1718, allocations: 31.83 kB / 0.5495 GB, free: 4.262 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1718, allocations: 4 kB / 0.5495 GB, free: 4.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.1731, allocations: 1.318 MB / 0.5508 GB, free: 2.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.1732, allocations: 87.69 kB / 0.5508 GB, free: 2.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.1733, allocations: 79.23 kB / 0.5509 GB, free: 2.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.174, allocations: 0.6812 MB / 0.5516 GB, free: 2.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.174, allocations: 0 / 0.5516 GB, free: 2.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.174, allocations: 0 / 0.5516 GB, free: 2.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.174, allocations: 0 / 0.5516 GB, free: 2.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.2891/0.4632, allocations: 2.969 MB / 0.5545 GB, free: 60.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.023e-05/0.4632, allocations: 11.03 kB / 0.5545 GB, free: 60.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/0.4633, allocations: 38.28 kB / 0.5545 GB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4635, allocations: 48.45 kB / 0.5546 GB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.4637, allocations: 220.2 kB / 0.5548 GB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4637, allocations: 2.656 kB / 0.5548 GB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4637, allocations: 3.188 kB / 0.5548 GB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.4642, allocations: 229.2 kB / 0.555 GB, free: 59.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4642, allocations: 5.531 kB / 0.555 GB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4642, allocations: 1.375 kB / 0.555 GB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4642, allocations: 0 / 0.555 GB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.4645, allocations: 140.3 kB / 0.5552 GB, free: 59.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.4648, allocations: 237.2 kB / 0.5554 GB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4651, allocations: 163.8 kB / 0.5555 GB, free: 59.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.4654, allocations: 143.2 kB / 0.5557 GB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4654, allocations: 2.922 kB / 0.5557 GB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.335e-05/0.4655, allocations: 78.03 kB / 0.5558 GB, free: 59.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.977e-06/0.4655, allocations: 0 / 0.5558 GB, free: 59.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001388/0.4669, allocations: 0.675 MB / 0.5564 GB, free: 59.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.467, allocations: 97.25 kB / 0.5565 GB, free: 59.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.4677, allocations: 0.5077 MB / 0.557 GB, free: 59.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4678, allocations: 32.62 kB / 0.557 GB, free: 59.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.4678, allocations: 85.45 kB / 0.5571 GB, free: 59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.4679, allocations: 26.66 kB / 0.5571 GB, free: 58.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.468, allocations: 107.5 kB / 0.5572 GB, free: 58.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4682, allocations: 319.5 kB / 0.5575 GB, free: 58.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.4684, allocations: 138.8 kB / 0.5577 GB, free: 58.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.4686, allocations: 138.6 kB / 0.5578 GB, free: 58.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.4691, allocations: 302.4 kB / 0.5581 GB, free: 58.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4691, allocations: 0 / 0.5581 GB, free: 58.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008504/0.47, allocations: 0.4883 MB / 0.5586 GB, free: 58.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4701, allocations: 59.7 kB / 0.5586 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4701, allocations: 1.031 kB / 0.5586 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.393e-05/0.4701, allocations: 0 / 0.5586 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.4701, allocations: 1.812 kB / 0.5586 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4702, allocations: 0 / 0.5586 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4703, allocations: 12.36 kB / 0.5586 GB, free: 58.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.4705, allocations: 136.3 kB / 0.5588 GB, free: 58.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000464/0.471, allocations: 259.1 kB / 0.559 GB, free: 58.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.4711, allocations: 52.89 kB / 0.5591 GB, free: 58.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.4712, allocations: 53.62 kB / 0.5591 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4712, allocations: 0 / 0.5591 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4712, allocations: 0.8438 kB / 0.5591 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4712, allocations: 2 kB / 0.5591 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.4716, allocations: 259 kB / 0.5594 GB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4716, allocations: 3.5 kB / 0.5594 GB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-06/0.4716, allocations: 4.453 kB / 0.5594 GB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4716, allocations: 5.062 kB / 0.5594 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.4716, allocations: 26.59 kB / 0.5594 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.4716, allocations: 1.812 kB / 0.5594 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4716, allocations: 1.969 kB / 0.5594 GB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4727, allocations: 0.6101 MB / 0.56 GB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.4731, allocations: 166 kB / 0.5602 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.4731, allocations: 16.06 kB / 0.5602 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.4732, allocations: 10.17 kB / 0.5602 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.4732, allocations: 4.625 kB / 0.5602 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/0.4734, allocations: 139.7 kB / 0.5603 GB, free: 57.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005276/0.474, allocations: 371.6 kB / 0.5607 GB, free: 57.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.474, allocations: 0 / 0.5607 GB, free: 57.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001156/0.4751, allocations: 203.5 kB / 0.5609 GB, free: 57.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 (nFailed,res[1],res[2],res[3],res[4],res[5],res[6],res[7],res[8],res[9],res[10],dev) * Number of discrete states: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.003036/0.4782, allocations: 1.525 MB / 0.5624 GB, free: 56.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4796, allocations: 409.7 kB / 0.5628 GB, free: 56.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4796, allocations: 0.5625 kB / 0.5628 GB, free: 56.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.4801, allocations: 241.8 kB / 0.563 GB, free: 56.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4804, allocations: 20.05 kB / 0.563 GB, free: 56.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.4825, allocations: 0.8777 MB / 0.5639 GB, free: 55.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4828, allocations: 179.6 kB / 0.564 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.4828, allocations: 0 / 0.564 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.4828, allocations: 12.42 kB / 0.5641 GB, free: 55.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.977e-06/0.4828, allocations: 0 / 0.5641 GB, free: 55.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/0.5929, allocations: 8.887 MB / 0.5727 GB, free: 50.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.813/10.41, allocations: 4.062 kB / 0.5727 GB, free: 50.61 MB / 410.7 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_HelmholtzDerivsAssociating.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.109763690270483]