Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 120.1 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 214.2 kB / 21.45 MB, free: 1.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 83.81 kB / 0.4916 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1171, allocations: 66.04 MB / 0.5561 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003336/0.1204, allocations: 1.734 MB / 0.5578 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001899/0.1206, allocations: 83.7 kB / 0.5579 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.1207, allocations: 11.94 kB / 0.5579 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.1208, allocations: 15.8 kB / 0.5579 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.1208, allocations: 23.78 kB / 0.558 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.1209, allocations: 23.97 kB / 0.558 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1211, allocations: 107.6 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1213, allocations: 43.95 kB / 0.5581 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.704e-05/0.1213, allocations: 35.92 kB / 0.5582 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.1214, allocations: 55.75 kB / 0.5582 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1214, allocations: 12 kB / 0.5582 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.1215, allocations: 16 kB / 0.5582 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.1215, allocations: 23.92 kB / 0.5583 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.1216, allocations: 51.73 kB / 0.5583 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1217, allocations: 115.6 kB / 0.5584 GB, free: 3.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1217, allocations: 4 kB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1217, allocations: 0 / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1217, allocations: 3.938 kB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006872/0.1224, allocations: 423 kB / 0.5588 GB, free: 2.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1225, allocations: 12.03 kB / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.278e-05/0.1225, allocations: 192 / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1225, allocations: 42.73 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.1226, allocations: 8.891 kB / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1227, allocations: 176.2 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1227, allocations: 8.375 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1227, allocations: 16.38 kB / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.1231, allocations: 125.9 kB / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1231, allocations: 0 / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1231, allocations: 11.94 kB / 0.5592 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1231, allocations: 0 / 0.5592 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.1235, allocations: 115.7 kB / 0.5593 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.1242, allocations: 467.4 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1245, allocations: 78.53 kB / 0.5598 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.1247, allocations: 68.92 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1247, allocations: 0 / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1248, allocations: 34.5 kB / 0.5599 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1248, allocations: 0 / 0.5599 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008657/0.1256, allocations: 267.4 kB / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1257, allocations: 55.41 kB / 0.5602 GB, free: 1.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1258, allocations: 113.8 kB / 0.5604 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1258, allocations: 29.7 kB / 0.5604 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.1259, allocations: 108.2 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1259, allocations: 23.78 kB / 0.5605 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.126, allocations: 25.72 kB / 0.5605 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1261, allocations: 314.8 kB / 0.5608 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1263, allocations: 39.95 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1265, allocations: 70.45 kB / 0.5609 GB, free: 364 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.1268, allocations: 94.5 kB / 0.561 GB, free: 260 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1268, allocations: 0 / 0.561 GB, free: 260 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000468/0.1273, allocations: 150.3 kB / 0.5612 GB, free: 100 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1273, allocations: 7.938 kB / 0.5612 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1273, allocations: 0 / 0.5612 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1275, allocations: 24.84 kB / 0.5612 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1276, allocations: 15.98 kB / 0.5612 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.1289, allocations: 1.407 MB / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.129, allocations: 16.02 kB / 0.5626 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.129, allocations: 4.062 kB / 0.5626 GB, free: 14.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.1291, allocations: 121.8 kB / 0.5627 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1291, allocations: 11.89 kB / 0.5627 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.1292, allocations: 8.375 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1292, allocations: 0 / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1292, allocations: 4 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1292, allocations: 0 / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.1299, allocations: 424 kB / 0.5632 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1299, allocations: 4 kB / 0.5632 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.13, allocations: 19.91 kB / 0.5632 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-05/0.1301, allocations: 20.86 kB / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1301, allocations: 0 / 0.5632 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.1312, allocations: 1.402 MB / 0.5646 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1312, allocations: 0 / 0.5646 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1317, allocations: 257 kB / 0.5648 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.1317, allocations: 81.19 kB / 0.5649 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1318, allocations: 4 kB / 0.5649 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1319, allocations: 15.98 kB / 0.5649 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.1319, allocations: 11.98 kB / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1319, allocations: 7.938 kB / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.132, allocations: 91.27 kB / 0.565 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 0.565 GB, free: 11.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1323, allocations: 31.89 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008276/0.1331, allocations: 0.7609 MB / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1337, allocations: 214.4 kB / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1337, allocations: 0 / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.134, allocations: 154.7 kB / 0.5661 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1343, allocations: 12.11 kB / 0.5662 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1365, allocations: 1.607 MB / 0.5677 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1368, allocations: 0.7002 MB / 0.5684 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.1368, allocations: 7.75 kB / 0.5684 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1369, allocations: 23.44 kB / 0.5684 GB, free: 8.07 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1369, allocations: 0 / 0.5684 GB, free: 8.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.1581, allocations: 2.431 MB / 0.5708 GB, free: 5.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.2, allocations: 18.7 kB / 0.5708 GB, free: 5.75 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.155968214035966] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.342169673007447 10.36947425 10.24274038 Calling exit ...