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.0009741/0.0009741, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001096/0.001096, allocations: 222.3 kB / 22.25 MB, free: 3.559 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.027/1.027, allocations: 230.6 MB / 256 MB, free: 9.59 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.04514/0.04514, allocations: 14.03 MB / 326.5 MB, free: 4.574 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.00106/0.00106, allocations: 74.36 kB / 453.4 MB, free: 33.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1132, allocations: 55.96 MB / 0.4975 GB, free: 9.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.MaxwellLoop): time 0.04234/0.1556, allocations: 52.35 MB / 0.5486 GB, free: 5.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000647/0.1562, allocations: 0.9423 MB / 0.5495 GB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.1563, allocations: 0 / 0.5495 GB, free: 4.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.1574, allocations: 0.5773 MB / 0.5501 GB, free: 3.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3222/0.4795, allocations: 8.09 MB / 0.558 GB, free: 8.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.891e-05/0.4796, allocations: 10.36 kB / 0.558 GB, free: 8.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.48, allocations: 195 kB / 0.5582 GB, free: 8.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.4801, allocations: 12.08 kB / 0.5582 GB, free: 8.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.4804, allocations: 100.9 kB / 0.5583 GB, free: 8.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.4806, allocations: 56.91 kB / 0.5583 GB, free: 8.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.4806, allocations: 4.438 kB / 0.5583 GB, free: 8.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/0.5007, allocations: 8.236 MB / 0.5664 GB, free: 8.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.5007, allocations: 21.92 kB / 0.5664 GB, free: 8.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.5009, allocations: 48.73 kB / 0.5664 GB, free: 8.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.5125, allocations: 3.33 MB / 0.5697 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.5125, allocations: 0 / 0.5697 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5125, allocations: 5.016 kB / 0.5697 GB, free: 8.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5126, allocations: 0 / 0.5697 GB, free: 8.227 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.001441/0.514, allocations: 0.8398 MB / 0.5705 GB, free: 7.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.5141, allocations: 10.75 kB / 0.5705 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.5141, allocations: 41.17 kB / 0.5706 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.5142, allocations: 36.64 kB / 0.5706 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.5144, allocations: 138.5 kB / 0.5707 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5144, allocations: 2.469 kB / 0.5707 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.5144, allocations: 4.406 kB / 0.5707 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.5147, allocations: 163.5 kB / 0.5709 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5147, allocations: 0 / 0.5709 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5147, allocations: 0 / 0.5709 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.5147, allocations: 10.44 kB / 0.5709 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.515, allocations: 205.8 kB / 0.5711 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.5152, allocations: 234.1 kB / 0.5713 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.5154, allocations: 150 kB / 0.5715 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5155, allocations: 138.8 kB / 0.5716 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/0.5175, allocations: 1.544 MB / 0.5731 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5175, allocations: 33.03 kB / 0.5731 GB, free: 7.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.5175, allocations: 4 kB / 0.5731 GB, free: 7.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007263/0.5182, allocations: 467.8 kB / 0.5736 GB, free: 7.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.5182, allocations: 60.5 kB / 0.5736 GB, free: 7.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.5183, allocations: 126.5 kB / 0.5738 GB, free: 6.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5183, allocations: 28.73 kB / 0.5738 GB, free: 6.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.5184, allocations: 91.48 kB / 0.5739 GB, free: 6.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.5184, allocations: 113.3 kB / 0.574 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.5185, allocations: 31.11 kB / 0.574 GB, free: 6.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.5185, allocations: 327.5 kB / 0.5743 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5187, allocations: 131.2 kB / 0.5745 GB, free: 6.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5188, allocations: 124.4 kB / 0.5746 GB, free: 6.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.5191, allocations: 314.7 kB / 0.5749 GB, free: 6.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5191, allocations: 0 / 0.5749 GB, free: 6.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003734/0.5195, allocations: 346 kB / 0.5752 GB, free: 6.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5195, allocations: 6.469 kB / 0.5752 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5195, allocations: 0 / 0.5752 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5195, allocations: 0 / 0.5752 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5196, allocations: 28.33 kB / 0.5752 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5196, allocations: 6.234 kB / 0.5752 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.5197, allocations: 31.81 kB / 0.5753 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.5197, allocations: 6.938 kB / 0.5753 GB, free: 6.266 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 6.945e-05/0.5198, allocations: 113.1 kB / 0.5754 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.5198, allocations: 14.78 kB / 0.5754 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.5202, allocations: 380.3 kB / 0.5758 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.5202, allocations: 9.094 kB / 0.5758 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5202, allocations: 3.938 kB / 0.5758 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.5202, allocations: 4.188 kB / 0.5758 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.5204, allocations: 235.5 kB / 0.576 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5204, allocations: 2.5 kB / 0.576 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.5205, allocations: 17.41 kB / 0.576 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5205, allocations: 0 / 0.576 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.5205, allocations: 3.5 kB / 0.576 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5205, allocations: 9.562 kB / 0.576 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5205, allocations: 3.938 kB / 0.576 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.5208, allocations: 380.1 kB / 0.5764 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.5209, allocations: 25.61 kB / 0.5764 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.5209, allocations: 1.312 kB / 0.5764 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.5209, allocations: 14.84 kB / 0.5764 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.521, allocations: 18.88 kB / 0.5765 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.521, allocations: 2.812 kB / 0.5765 GB, free: 5.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.5211, allocations: 102.4 kB / 0.5766 GB, free: 5.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5211, allocations: 0 / 0.5766 GB, free: 5.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007045/0.5218, allocations: 451.7 kB / 0.577 GB, free: 5.617 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.001635/0.5234, allocations: 1.545 MB / 0.5785 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.5237, allocations: 276.6 kB / 0.5788 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5237, allocations: 4 kB / 0.5788 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5239, allocations: 132.8 kB / 0.5789 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5242, allocations: 81.05 kB / 0.579 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.5261, allocations: 2.432 MB / 0.5813 GB, free: 3.586 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.5262, allocations: 101.4 kB / 0.5814 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.5262, allocations: 32.42 kB / 0.5815 GB, free: 3.512 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.5263, allocations: 39.06 kB / 0.5815 GB, free: 3.504 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5263, allocations: 0 / 0.5815 GB, free: 3.504 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.6319, allocations: 14.09 MB / 0.5953 GB, free: 10.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.659, allocations: 8.125 kB / 0.5953 GB, free: 10.74 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.335109523497522]