Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.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.001421/0.001421, 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.0014/0.0014, allocations: 216.1 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.048/1.048, allocations: 230.6 MB / 256 MB, free: 9.602 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.04822/0.04822, allocations: 14.45 MB / 326.9 MB, free: 4.199 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.Properties.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_MaxwellLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_MaxwellLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 63.67 kB / 454 MB, free: 33.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1247, allocations: 56.04 MB / 0.4981 GB, free: 9.113 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.MaxwellLoop): time 0.04234/0.1671, allocations: 52.44 MB / 0.5493 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.1678, allocations: 0.9424 MB / 0.5502 GB, free: 3.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.1678, allocations: 0 / 0.5502 GB, free: 3.531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.1694, allocations: 0.5849 MB / 0.5508 GB, free: 2.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3584/0.5277, allocations: 8.085 MB / 0.5587 GB, free: 7.582 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.147e-05/0.5278, allocations: 11.66 kB / 0.5587 GB, free: 7.582 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.528, allocations: 192.9 kB / 0.5589 GB, free: 7.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.371e-05/0.5281, allocations: 11.2 kB / 0.5589 GB, free: 7.578 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.5284, allocations: 103 kB / 0.559 GB, free: 7.578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.5285, allocations: 63.22 kB / 0.5591 GB, free: 7.574 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.5285, allocations: 3.344 kB / 0.5591 GB, free: 7.574 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02179/0.5503, allocations: 8.239 MB / 0.5671 GB, free: 7.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.5503, allocations: 18.47 kB / 0.5671 GB, free: 7.555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.5505, allocations: 49.7 kB / 0.5672 GB, free: 7.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.564, allocations: 3.326 MB / 0.5704 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.564, allocations: 1.75 kB / 0.5704 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.564, allocations: 1.094 kB / 0.5704 GB, free: 7.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.564, allocations: 0 / 0.5704 GB, free: 7.445 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00182/0.5658, allocations: 0.8459 MB / 0.5713 GB, free: 6.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5659, allocations: 8.469 kB / 0.5713 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.5659, allocations: 40.09 kB / 0.5713 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.566, allocations: 38.03 kB / 0.5714 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5661, allocations: 131.5 kB / 0.5715 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5661, allocations: 2.75 kB / 0.5715 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5661, allocations: 3.688 kB / 0.5715 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.5664, allocations: 160.8 kB / 0.5716 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5664, allocations: 0 / 0.5716 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5664, allocations: 7.031 kB / 0.5716 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5664, allocations: 14.55 kB / 0.5717 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.5666, allocations: 203.4 kB / 0.5719 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.5668, allocations: 232.8 kB / 0.5721 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.567, allocations: 152.3 kB / 0.5722 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.5671, allocations: 134.7 kB / 0.5723 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.5691, allocations: 1.543 MB / 0.5739 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5691, allocations: 36.41 kB / 0.5739 GB, free: 6.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.896e-06/0.5692, allocations: 0 / 0.5739 GB, free: 6.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007258/0.5699, allocations: 479.9 kB / 0.5743 GB, free: 6.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.5699, allocations: 52.75 kB / 0.5744 GB, free: 6.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.57, allocations: 139.8 kB / 0.5745 GB, free: 6.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.57, allocations: 25.7 kB / 0.5746 GB, free: 6.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.57, allocations: 87.5 kB / 0.5746 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.5701, allocations: 115.8 kB / 0.5747 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.5701, allocations: 31.14 kB / 0.5748 GB, free: 5.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.5702, allocations: 328.8 kB / 0.5751 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5703, allocations: 123.6 kB / 0.5752 GB, free: 5.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5705, allocations: 128.6 kB / 0.5753 GB, free: 5.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5707, allocations: 314.8 kB / 0.5756 GB, free: 5.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5707, allocations: 0 / 0.5756 GB, free: 5.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003184/0.571, allocations: 350.8 kB / 0.576 GB, free: 5.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5711, allocations: 7.781 kB / 0.576 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5711, allocations: 4 kB / 0.576 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5711, allocations: 5.156 kB / 0.576 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.5712, allocations: 16.08 kB / 0.576 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5712, allocations: 6.875 kB / 0.576 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.5713, allocations: 18.58 kB / 0.576 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5713, allocations: 2.812 kB / 0.576 GB, free: 5.484 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.374e-05/0.5713, allocations: 116.7 kB / 0.5761 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.5714, allocations: 18.39 kB / 0.5762 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.5718, allocations: 390.5 kB / 0.5765 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5718, allocations: 7.359 kB / 0.5765 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5718, allocations: 0 / 0.5765 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5718, allocations: 0 / 0.5765 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.5719, allocations: 238.7 kB / 0.5768 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5719, allocations: 2.516 kB / 0.5768 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.572, allocations: 26.75 kB / 0.5768 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.572, allocations: 0 / 0.5768 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.572, allocations: 9.938 kB / 0.5768 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.572, allocations: 1.969 kB / 0.5768 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.572, allocations: 3.938 kB / 0.5768 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.5724, allocations: 386.4 kB / 0.5772 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.5724, allocations: 25.7 kB / 0.5772 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5724, allocations: 7.938 kB / 0.5772 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.5725, allocations: 13.38 kB / 0.5772 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.5725, allocations: 9.453 kB / 0.5772 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.5725, allocations: 5.75 kB / 0.5772 GB, free: 4.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.5725, allocations: 98.38 kB / 0.5773 GB, free: 4.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5725, allocations: 0 / 0.5773 GB, free: 4.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001205/0.5738, allocations: 442.8 kB / 0.5777 GB, free: 4.832 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00188/0.5756, allocations: 1.553 MB / 0.5793 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.576, allocations: 278.1 kB / 0.5795 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.576, allocations: 0 / 0.5795 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5761, allocations: 135.3 kB / 0.5797 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5765, allocations: 72.34 kB / 0.5797 GB, free: 4.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.5787, allocations: 2.426 MB / 0.5821 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.5787, allocations: 108.3 kB / 0.5822 GB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.5789, allocations: 21.55 kB / 0.5822 GB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.579, allocations: 39.52 kB / 0.5823 GB, free: 2.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.579, allocations: 0 / 0.5823 GB, free: 2.715 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/0.684, allocations: 14.1 MB / 0.596 GB, free: 9.508 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.034, allocations: 10.83 kB / 0.596 GB, free: 9.504 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_MaxwellLoop_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_MaxwellLoop.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_MaxwellLoop.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.MaxwellLoop_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.817445916123688]