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.001374/0.001374, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001093/0.001093, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.052/1.052, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.04691/0.04691, allocations: 11.38 MB / 270.6 MB, free: 2.562 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 5.44e-06/5.44e-06, allocations: 0 / 397.6 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.576e-05, allocations: 2.281 kB / 397.6 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.MaxwellLoop): time 0.2953/0.2954, allocations: 52.32 MB / 449.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.2961, allocations: 0.9428 MB / 450.9 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.2962, allocations: 0 / 450.9 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.2975, allocations: 0.5856 MB / 451.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02005/0.3176, allocations: 8.24 MB / 459.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.801e-05/0.3176, allocations: 11.17 kB / 459.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.318, allocations: 203.2 kB / 459.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.3181, allocations: 8.219 kB / 459.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.3185, allocations: 134.6 kB / 460.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3186, allocations: 46.38 kB / 460.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.3186, allocations: 6.562 kB / 460.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.336, allocations: 8.3 MB / 468.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.3361, allocations: 14.73 kB / 468.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3362, allocations: 42.95 kB / 468.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.3499, allocations: 3.95 MB / 472.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3499, allocations: 0 / 472.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3499, allocations: 0 / 472.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3499, allocations: 7.281 kB / 472.4 MB, free: 41.42 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.001888/0.3518, allocations: 0.8326 MB / 473.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.3518, allocations: 9.281 kB / 473.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3519, allocations: 48.14 kB / 473.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.352, allocations: 38.12 kB / 473.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3521, allocations: 133.2 kB / 473.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3521, allocations: 7 kB / 473.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3521, allocations: 0 / 473.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.3523, allocations: 168.5 kB / 473.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3524, allocations: 0 / 473.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3524, allocations: 0 / 473.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3524, allocations: 8.078 kB / 473.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.3526, allocations: 203.9 kB / 473.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3528, allocations: 231.4 kB / 474.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.353, allocations: 162.5 kB / 474.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.3531, allocations: 131.4 kB / 474.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/0.355, allocations: 1.532 MB / 475.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.355, allocations: 37.83 kB / 475.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.574e-06/0.355, allocations: 0 / 475.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006813/0.3557, allocations: 475.8 kB / 476.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3557, allocations: 55.34 kB / 476.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3558, allocations: 133.5 kB / 476.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3558, allocations: 25.7 kB / 476.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.3559, allocations: 87.48 kB / 476.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.3559, allocations: 118.4 kB / 476.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.356, allocations: 32.83 kB / 476.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.356, allocations: 320.3 kB / 477.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3561, allocations: 128.4 kB / 477.3 MB, free: 39.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3563, allocations: 130.4 kB / 477.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3566, allocations: 312.4 kB / 477.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3566, allocations: 3.812 kB / 477.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003322/0.3569, allocations: 348.6 kB / 478.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3569, allocations: 3.094 kB / 478.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3569, allocations: 0 / 478.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.357, allocations: 6.359 kB / 478.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3571, allocations: 25 kB / 478.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3571, allocations: 0 / 478.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.3571, allocations: 28.75 kB / 478.1 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3572, allocations: 3 kB / 478.1 MB, free: 39.44 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.807e-05/0.3572, allocations: 118.7 kB / 478.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3572, allocations: 13.88 kB / 478.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.3576, allocations: 387 kB / 478.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3577, allocations: 6.484 kB / 478.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3577, allocations: 3.938 kB / 478.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3577, allocations: 0 / 478.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3578, allocations: 246.2 kB / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3578, allocations: 3.125 kB / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.3579, allocations: 19.23 kB / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3579, allocations: 0 / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3579, allocations: 0 / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3579, allocations: 0 / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3579, allocations: 3.938 kB / 478.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3582, allocations: 388 kB / 479.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.3582, allocations: 32.33 kB / 479.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3583, allocations: 0 / 479.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.3583, allocations: 9.375 kB / 479.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3584, allocations: 14.47 kB / 479.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3584, allocations: 6.812 kB / 479.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.886e-05/0.3584, allocations: 104.2 kB / 479.5 MB, free: 38.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3584, allocations: 0 / 479.5 MB, free: 38.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001064/0.3595, allocations: 439.9 kB / 479.9 MB, free: 38.66 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.001747/0.3612, allocations: 1.638 MB / 481.5 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3616, allocations: 276.5 kB / 481.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3616, allocations: 0 / 481.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3617, allocations: 130.3 kB / 481.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3621, allocations: 81.84 kB / 482 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.3644, allocations: 2.422 MB / 484.4 MB, free: 35.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.11e-05/0.3645, allocations: 106 kB / 484.5 MB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.3646, allocations: 26.73 kB / 484.6 MB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.3647, allocations: 41.58 kB / 484.6 MB, free: 35.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.525e-06/0.3647, allocations: 0 / 484.6 MB, free: 35.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.4749, allocations: 14.26 MB / 498.9 MB, free: 33.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.558, allocations: 8.438 kB / 498.9 MB, free: 33.49 MB / 410.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.294272290542722]