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.0007366/0.0007366, 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.0008337/0.0008337, allocations: 169.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 0.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.004617/0.004617, allocations: 0.9547 MB / 260.1 MB, free: 12.39 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: "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 4 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.529e-05, allocations: 6.219 kB / 382.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001737/0.001753, allocations: 1.538 MB / 384.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003023, allocations: 1.172 MB / 385.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.003077, allocations: 0 / 385.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.003503, allocations: 147.2 kB / 385.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.003979, allocations: 281.9 kB / 385.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.62e-06/0.003984, allocations: 0 / 385.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.004105, allocations: 111.4 kB / 385.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.004151, allocations: 13.62 kB / 385.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.004215, allocations: 51.84 kB / 385.8 MB, free: 11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.00434, allocations: 63.73 kB / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.004353, allocations: 4 kB / 385.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.004761, allocations: 363.1 kB / 386.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.004812, allocations: 39.83 kB / 386.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.004846, allocations: 27.86 kB / 386.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.005197, allocations: 346.8 kB / 386.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005201, allocations: 4 kB / 386.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005202, allocations: 0 / 386.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005206, allocations: 4 kB / 386.7 MB, free: 10.16 MB / 314.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.0004895/0.005696, allocations: 411.9 kB / 387.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005734, allocations: 12.03 kB / 387.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.005766, allocations: 38.73 kB / 387.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.005798, allocations: 16.84 kB / 387.1 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.005972, allocations: 173.2 kB / 387.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.005982, allocations: 12.31 kB / 387.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.005992, allocations: 384 / 387.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006109, allocations: 106.1 kB / 387.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.006116, allocations: 4.188 kB / 387.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.006127, allocations: 8.125 kB / 387.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.006131, allocations: 0 / 387.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.006253, allocations: 143.9 kB / 387.6 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.006431, allocations: 224.6 kB / 387.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.006573, allocations: 142.5 kB / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.006635, allocations: 72.81 kB / 388 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.00669, allocations: 43.91 kB / 388 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.006707, allocations: 30.56 kB / 388.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.006708, allocations: 0 / 388.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009249/0.007633, allocations: 366.4 kB / 388.4 MB, free: 8.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.007662, allocations: 55.34 kB / 388.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.00781, allocations: 223 kB / 388.7 MB, free: 7.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.007822, allocations: 25.7 kB / 388.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.007874, allocations: 116.1 kB / 388.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.007906, allocations: 31.73 kB / 388.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.007941, allocations: 25.7 kB / 388.9 MB, free: 7.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.008022, allocations: 326.8 kB / 389.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.008074, allocations: 59.97 kB / 389.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.008127, allocations: 60.34 kB / 389.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.008247, allocations: 140.9 kB / 389.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.00825, allocations: 4 kB / 389.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003914/0.008642, allocations: 242.2 kB / 389.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.008656, allocations: 5.719 kB / 389.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008662, allocations: 7.984 kB / 389.7 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.009013, allocations: 72.77 kB / 389.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.00906, allocations: 12 kB / 389.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.01023, allocations: 1.443 MB / 391.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.01026, allocations: 3.984 kB / 391.2 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01027, allocations: 4 kB / 391.2 MB, free: 5.254 MB / 314.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 7.312e-05/0.01034, allocations: 125.8 kB / 391.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.01036, allocations: 15.91 kB / 391.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.01079, allocations: 271.8 kB / 391.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01079, allocations: 0 / 391.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01079, allocations: 4 kB / 391.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.0108, allocations: 0 / 391.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01093, allocations: 220.6 kB / 391.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01093, allocations: 0 / 391.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.01095, allocations: 11.94 kB / 391.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.01123, allocations: 76.77 kB / 392 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01124, allocations: 11.92 kB / 392 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.01226, allocations: 1.443 MB / 393.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01226, allocations: 3.984 kB / 393.4 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.01266, allocations: 261.7 kB / 393.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.01268, allocations: 19.86 kB / 393.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.01269, allocations: 4 kB / 393.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.01271, allocations: 0 / 393.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.01274, allocations: 15.91 kB / 393.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01274, allocations: 8 kB / 393.7 MB, free: 2.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.01284, allocations: 160.4 kB / 393.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01284, allocations: 0 / 393.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01307, allocations: 87.73 kB / 394 MB, free: 2.336 MB / 314.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.0006865/0.01376, allocations: 0.8551 MB / 394.8 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.0141, allocations: 266.5 kB / 395.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.0141, allocations: 4 kB / 395.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.01427, allocations: 202.6 kB / 395.3 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01445, allocations: 26.36 kB / 395.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.01768, allocations: 2.472 MB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01775, allocations: 117.4 kB / 397.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.0178, allocations: 21.38 kB / 397.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01784, allocations: 36.48 kB / 397.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01784, allocations: 0 / 397.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.04059, allocations: 6.1 MB / 404 MB, free: 8.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/7.951, allocations: 0 / 404 MB, free: 8.219 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.827449935488403] Failed to read output from testmodel.py, exit status != 0: 8.040897533297539 8.189695586 8.182748356 Calling exit ...