Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.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.001417/0.001417, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001682/0.001682, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9024/0.9024, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.02974/0.02974, allocations: 7.529 MB / 267.8 MB, free: 5.852 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 339.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/3.024e-05, allocations: 2.312 kB / 339.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01416/0.01419, allocations: 17.36 MB / 356.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.01621, allocations: 2.329 MB / 358.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.01626, allocations: 0 / 358.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.01696, allocations: 347.6 kB / 359.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.02215, allocations: 3.251 MB / 362.4 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.209e-05/0.02217, allocations: 11.94 kB / 362.4 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.02234, allocations: 210.8 kB / 362.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.02237, allocations: 5.812 kB / 362.6 MB, free: 4.188 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.02255, allocations: 127.6 kB / 362.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.02261, allocations: 47.83 kB / 362.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.02262, allocations: 8 kB / 362.8 MB, free: 4.008 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.02694, allocations: 4.397 MB / 367.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.02697, allocations: 19.91 kB / 367.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.02702, allocations: 43.86 kB / 367.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.03041, allocations: 2.599 MB / 369.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.03041, allocations: 4 kB / 369.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03042, allocations: 0 / 369.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.03042, allocations: 0 / 369.8 MB, free: 12.93 MB / 346.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.001043/0.03146, allocations: 0.6963 MB / 370.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.0315, allocations: 8.625 kB / 370.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.0316, allocations: 39.89 kB / 370.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.03169, allocations: 139.7 kB / 370.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.0317, allocations: 4 kB / 370.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.03171, allocations: 4 kB / 370.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.03184, allocations: 87.86 kB / 370.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.03184, allocations: 0 / 370.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.03185, allocations: 4 kB / 370.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.03186, allocations: 4 kB / 370.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.03191, allocations: 44.27 kB / 370.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.03206, allocations: 162.3 kB / 371 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.03214, allocations: 71.33 kB / 371.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.03218, allocations: 47.91 kB / 371.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006735/0.03892, allocations: 2.863 MB / 374 MB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.03894, allocations: 33.39 kB / 374 MB, free: 8.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.343e-06/0.03894, allocations: 0 / 374 MB, free: 8.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002364/0.03917, allocations: 218.5 kB / 374.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.0392, allocations: 51.41 kB / 374.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.03927, allocations: 181.9 kB / 374.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.03929, allocations: 29.7 kB / 374.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.03932, allocations: 139.5 kB / 374.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.03939, allocations: 118.9 kB / 374.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.03943, allocations: 43.34 kB / 374.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.03953, allocations: 0.5001 MB / 375.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.03956, allocations: 24 kB / 375.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.03959, allocations: 32.83 kB / 375.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.03968, allocations: 137.9 kB / 375.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.03968, allocations: 3.938 kB / 375.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001363/0.03982, allocations: 179.7 kB / 375.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.03983, allocations: 5.875 kB / 375.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.03984, allocations: 4 kB / 375.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.03985, allocations: 0 / 375.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.0399, allocations: 15.98 kB / 375.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.03991, allocations: 0 / 375.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.03994, allocations: 15.89 kB / 375.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.03995, allocations: 0 / 375.7 MB, free: 6.863 MB / 346.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.527e-05/0.04002, allocations: 168.5 kB / 375.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.04003, allocations: 23.84 kB / 375.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.04021, allocations: 213.2 kB / 376.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.04021, allocations: 0 / 376.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.04021, allocations: 4 kB / 376.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.04021, allocations: 0 / 376.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.04032, allocations: 161.8 kB / 376.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.04032, allocations: 0 / 376.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.04035, allocations: 15.98 kB / 376.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.04036, allocations: 3.938 kB / 376.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.04036, allocations: 0 / 376.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.04036, allocations: 4 kB / 376.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.04036, allocations: 0 / 376.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.04075, allocations: 234.3 kB / 376.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.04079, allocations: 35.75 kB / 376.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.04079, allocations: 0 / 376.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.04083, allocations: 11.98 kB / 376.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.04086, allocations: 11.98 kB / 376.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.04086, allocations: 0 / 376.6 MB, free: 5.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.0409, allocations: 135.2 kB / 376.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0409, allocations: 0 / 376.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007459/0.04164, allocations: 498.5 kB / 377.2 MB, free: 5.305 MB / 346.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.001375/0.04302, allocations: 0.7943 MB / 378 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.04314, allocations: 103.6 kB / 378.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.04315, allocations: 0 / 378.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.04319, allocations: 71.55 kB / 378.1 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.04346, allocations: 72.59 kB / 378.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.04409, allocations: 331.6 kB / 378.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.04413, allocations: 76.06 kB / 378.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.04419, allocations: 31.84 kB / 378.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.0443, allocations: 114.2 kB / 378.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0443, allocations: 0 / 378.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of Templates: time 0.02315/0.06745, allocations: 24.48 MB / 403.2 MB, free: 11.22 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.604201857931912]