Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.006559/0.006559, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 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.00166/0.00166, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 59.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3114, allocations: 49.16 MB / 397.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007816/0.3192, allocations: 6.516 MB / 403.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.3254, allocations: 2.623 MB / 406.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3266, allocations: 19.19 kB / 406.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.3301, allocations: 1.287 MB / 407.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.3323, allocations: 0.5514 MB / 408.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.3348, allocations: 1.254 MB / 409.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.3367, allocations: 1.093 MB / 410.5 MB, free: 480 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.338, allocations: 0.8014 MB / 411.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007945/0.3388, allocations: 468.2 kB / 411.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.3396, allocations: 0.5524 MB / 412.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.3397, allocations: 96.88 kB / 412.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3408, allocations: 409.2 kB / 412.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.341, allocations: 238.9 kB / 413 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.3415, allocations: 0.5297 MB / 413.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.3438, allocations: 1.529 MB / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3438, allocations: 4 kB / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3438, allocations: 1.5 kB / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.3438, allocations: 0 / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004507/0.3483, allocations: 1.713 MB / 416.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3484, allocations: 12.7 kB / 416.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.488e-05/0.3484, allocations: 38.25 kB / 416.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.3487, allocations: 180.7 kB / 417 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/0.3525, allocations: 0.5694 MB / 417.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/0.3533, allocations: 454.3 kB / 418 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.3534, allocations: 85.97 kB / 418.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.3536, allocations: 115.3 kB / 418.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.3556, allocations: 1.016 MB / 419.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3557, allocations: 9.141 kB / 419.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.3558, allocations: 54.11 kB / 419.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.3558, allocations: 26.94 kB / 419.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.3581, allocations: 1.024 MB / 420.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007024/0.3651, allocations: 3.607 MB / 424 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.3673, allocations: 0.8767 MB / 424.8 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/0.3683, allocations: 406.1 kB / 425.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3684, allocations: 27.08 kB / 425.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.3694, allocations: 494.2 kB / 425.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.244e-06/0.3694, allocations: 0 / 425.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01064/0.3801, allocations: 3.89 MB / 429.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3802, allocations: 141.8 kB / 429.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.3808, allocations: 417.8 kB / 430.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.3809, allocations: 53.7 kB / 430.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.3813, allocations: 456.9 kB / 430.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.3817, allocations: 468 kB / 431.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.382, allocations: 227.5 kB / 431.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3823, allocations: 374.8 kB / 431.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.383, allocations: 375.8 kB / 432.1 MB, free: 172 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3841, allocations: 0.6061 MB / 432.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.3859, allocations: 1.017 MB / 433.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3859, allocations: 0 / 433.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002871/0.3888, allocations: 1.441 MB / 435.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3888, allocations: 8 kB / 435.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.3889, allocations: 12 kB / 435.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009182/0.3898, allocations: 355.1 kB / 435.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/0.3907, allocations: 231.6 kB / 435.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008578/0.3993, allocations: 8.076 MB / 443.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.4002, allocations: 51.97 kB / 443.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.4002, allocations: 51.98 kB / 443.9 MB, free: 3.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004907/0.4007, allocations: 269.5 kB / 444.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.4009, allocations: 75.53 kB / 444.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.4036, allocations: 1.352 MB / 445.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4036, allocations: 15.98 kB / 445.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4036, allocations: 8 kB / 445.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4036, allocations: 3.984 kB / 445.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/0.4081, allocations: 2.588 MB / 448.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4081, allocations: 0 / 448.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.4088, allocations: 163.9 kB / 448.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008327/0.4097, allocations: 339.3 kB / 448.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.4097, allocations: 27.94 kB / 448.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007866/0.4176, allocations: 7.71 MB / 456.5 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.4176, allocations: 11.94 kB / 456.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.421, allocations: 1.872 MB / 458.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.4214, allocations: 151.5 kB / 458.5 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4215, allocations: 27.98 kB / 458.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.422, allocations: 43.98 kB / 458.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.4222, allocations: 108.7 kB / 458.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/0.4223, allocations: 39.98 kB / 458.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.4226, allocations: 279.2 kB / 459 MB, free: 3.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4226, allocations: 0 / 459 MB, free: 3.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001182/0.4238, allocations: 327.9 kB / 459.3 MB, free: 3.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,18,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003689/0.4275, allocations: 2.497 MB / 461.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.4305, allocations: 1.616 MB / 463.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4305, allocations: 0 / 463.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.4323, allocations: 1.134 MB / 464.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.4329, allocations: 82.48 kB / 464.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.4468, allocations: 7.654 MB / 472.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.4476, allocations: 1.036 MB / 473.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004927/0.448, allocations: 110.7 kB / 473.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.4485, allocations: 355.3 kB / 473.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4485, allocations: 0 / 473.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05964/0.5082, allocations: 20.1 MB / 493.9 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.86, allocations: 4.062 kB / 493.9 MB, free: 0.5156 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.76693147601327] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean.x', 'sourceQS.pin_p.reference.gamma'] 13.038625932007562 13.052144377 12.705354723 Calling exit ...