Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.001649/0.001649, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001977/0.001977, allocations: 169 kB / 23.02 MB, free: 1.547 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.008726/0.008726, allocations: 0.9621 MB / 260.9 MB, free: 12.18 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 330.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.022e-05, allocations: 2.312 kB / 330.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00249/0.002521, allocations: 1.588 MB / 332.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.003833, allocations: 1.246 MB / 333.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.003889, allocations: 3.938 kB / 333.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.004421, allocations: 143.2 kB / 333.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.004777, allocations: 278.7 kB / 334 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.004781, allocations: 0 / 334 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.004875, allocations: 115.4 kB / 334.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.004913, allocations: 9.625 kB / 334.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.004971, allocations: 67.75 kB / 334.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.005095, allocations: 59.8 kB / 334.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.005107, allocations: 4 kB / 334.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.005449, allocations: 363 kB / 334.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.005492, allocations: 39.84 kB / 334.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.005524, allocations: 31.86 kB / 334.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.005832, allocations: 322.8 kB / 335 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.005836, allocations: 4 kB / 335 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005838, allocations: 4 kB / 335 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.005843, allocations: 4 kB / 335 MB, free: 14.53 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004581/0.006301, allocations: 0.4993 MB / 335.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.006336, allocations: 12.02 kB / 335.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.006384, allocations: 24.8 kB / 335.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.006516, allocations: 172.2 kB / 335.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.006524, allocations: 8.375 kB / 335.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.006534, allocations: 384 / 335.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.006618, allocations: 54.22 kB / 335.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.006625, allocations: 4.188 kB / 335.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006634, allocations: 4.375 kB / 335.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.00664, allocations: 3.938 kB / 335.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.006696, allocations: 51.88 kB / 335.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.006844, allocations: 176.5 kB / 336 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.006931, allocations: 67.02 kB / 336.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.006962, allocations: 27.62 kB / 336.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.007019, allocations: 35.97 kB / 336.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.007034, allocations: 41.61 kB / 336.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.007035, allocations: 3.938 kB / 336.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007943/0.007829, allocations: 229 kB / 336.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.007846, allocations: 51.41 kB / 336.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.007955, allocations: 269.6 kB / 336.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.007963, allocations: 29.7 kB / 336.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.008, allocations: 162.9 kB / 336.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.008035, allocations: 31.73 kB / 336.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.008063, allocations: 35.36 kB / 337 MB, free: 12.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.008112, allocations: 0.504 MB / 337.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.008135, allocations: 19.92 kB / 337.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.008154, allocations: 8 kB / 337.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.008207, allocations: 39.67 kB / 337.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008209, allocations: 0 / 337.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003085/0.008517, allocations: 153.1 kB / 337.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00853, allocations: 12 kB / 337.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008534, allocations: 0 / 337.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/0.009051, allocations: 103.5 kB / 337.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.009096, allocations: 12 kB / 337.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.01007, allocations: 1.865 MB / 339.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.01011, allocations: 7.922 kB / 339.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01012, allocations: 7.938 kB / 339.7 MB, free: 9.5 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.01017, allocations: 164.6 kB / 339.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.01019, allocations: 19.91 kB / 339.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.01053, allocations: 167.3 kB / 340 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01053, allocations: 0 / 340 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01053, allocations: 3.938 kB / 340 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01053, allocations: 0 / 340 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.01062, allocations: 188.5 kB / 340.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01062, allocations: 0 / 340.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.01065, allocations: 15.98 kB / 340.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.01108, allocations: 107.6 kB / 340.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.01109, allocations: 0 / 340.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/0.01182, allocations: 1.869 MB / 342.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01182, allocations: 0 / 342.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01213, allocations: 187.9 kB / 342.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.01214, allocations: 15.84 kB / 342.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.01215, allocations: 4 kB / 342.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.01218, allocations: 7.984 kB / 342.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.0122, allocations: 11.92 kB / 342.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.01221, allocations: 4 kB / 342.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.807e-05/0.01227, allocations: 192.3 kB / 342.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 342.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01248, allocations: 79.81 kB / 342.7 MB, free: 6.27 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.01265, allocations: 166.9 kB / 342.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.01292, allocations: 237.1 kB / 343.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01292, allocations: 0 / 343.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.01305, allocations: 225.8 kB / 343.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.01322, allocations: 26.36 kB / 343.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.01477, allocations: 0.5281 MB / 343.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.0148, allocations: 83.81 kB / 344 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.01483, allocations: 17.47 kB / 344 MB, free: 4.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.01485, allocations: 20.48 kB / 344 MB, free: 4.883 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01485, allocations: 3.938 kB / 344 MB, free: 4.879 MB / 266.7 MB Notification: Performance of Templates: time 0.004574/0.01943, allocations: 3.755 MB / 347.8 MB, free: 1.141 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9325659540481865]