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.001724/0.001724, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001748/0.001748, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.409/1.409, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] 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.001684/0.001684, allocations: 52.56 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08363/0.08531, allocations: 49.12 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007878/0.09319, allocations: 6.492 MB / 398.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.09787, allocations: 2.605 MB / 401.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006355/0.0985, allocations: 20 kB / 401.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.1014, allocations: 1.287 MB / 402.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.1029, allocations: 0.5513 MB / 403.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.1053, allocations: 1.257 MB / 404.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1067, allocations: 1.09 MB / 405.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.1077, allocations: 0.6963 MB / 406.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.1082, allocations: 462.3 kB / 406.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/0.1088, allocations: 0.5602 MB / 407.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.109, allocations: 100 kB / 407.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.1097, allocations: 411.6 kB / 407.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1099, allocations: 239.1 kB / 407.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.1104, allocations: 0.5286 MB / 408.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.1121, allocations: 1.525 MB / 409.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1121, allocations: 0 / 409.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1121, allocations: 0 / 409.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1121, allocations: 0 / 409.9 MB, free: 6.824 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.004184/0.1163, allocations: 1.685 MB / 411.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1163, allocations: 8.031 kB / 411.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.205e-05/0.1164, allocations: 41.62 kB / 411.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.1166, allocations: 171.8 kB / 411.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/0.1204, allocations: 0.5778 MB / 412.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.1211, allocations: 0.5017 MB / 412.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.1212, allocations: 86.31 kB / 413 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.1213, allocations: 120 kB / 413.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.1232, allocations: 1.015 MB / 414.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.1232, allocations: 11.94 kB / 414.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.1233, allocations: 44 kB / 414.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1233, allocations: 32 kB / 414.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.1253, allocations: 1.032 MB / 415.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.1312, allocations: 3.858 MB / 419.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.1335, allocations: 2.008 MB / 421.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.1343, allocations: 411.6 kB / 421.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.1344, allocations: 106 kB / 421.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008525/0.1353, allocations: 482.5 kB / 422.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.1353, allocations: 0 / 422.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.00982/0.1451, allocations: 4.211 MB / 426.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.1452, allocations: 149.8 kB / 426.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1457, allocations: 417.8 kB / 426.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.1457, allocations: 45.7 kB / 426.9 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.1461, allocations: 453 kB / 427.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.1464, allocations: 475.9 kB / 427.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.1468, allocations: 219.5 kB / 428 MB, free: 3.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1469, allocations: 382.8 kB / 428.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.1477, allocations: 375.8 kB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009264/0.1486, allocations: 0.6031 MB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.1503, allocations: 1.036 MB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1503, allocations: 4 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002724/0.153, allocations: 1.445 MB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1531, allocations: 8 kB / 431.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1531, allocations: 8 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/0.154, allocations: 363 kB / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.1549, allocations: 227.7 kB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.1634, allocations: 8.49 MB / 440.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008181/0.1643, allocations: 55.98 kB / 441 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.1643, allocations: 51.98 kB / 441 MB, free: 6.078 MB / 366.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.0004639/0.1648, allocations: 269.6 kB / 441.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1649, allocations: 75.53 kB / 441.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.1677, allocations: 1.348 MB / 442.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1677, allocations: 12 kB / 442.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.1677, allocations: 8 kB / 442.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.1677, allocations: 7.969 kB / 442.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.1721, allocations: 2.632 MB / 445.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.1721, allocations: 4 kB / 445.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.1728, allocations: 163.7 kB / 445.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.1737, allocations: 335.4 kB / 445.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.1738, allocations: 31.88 kB / 445.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007849/0.1816, allocations: 8.129 MB / 454 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1816, allocations: 3.938 kB / 454 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.185, allocations: 1.888 MB / 455.9 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.1854, allocations: 228.5 kB / 456.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1855, allocations: 24 kB / 456.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.186, allocations: 43.98 kB / 456.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.1862, allocations: 104.7 kB / 456.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.1863, allocations: 39.98 kB / 456.3 MB, free: 6.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003632/0.1866, allocations: 279.2 kB / 456.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1866, allocations: 0 / 456.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.1878, allocations: 320 kB / 456.9 MB, free: 5.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003763/0.1916, allocations: 2.501 MB / 459.4 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.1944, allocations: 1.62 MB / 461 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1944, allocations: 4 kB / 461 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1549/0.3492, allocations: 1.135 MB / 462.2 MB, free: 63.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.3501, allocations: 74.33 kB / 462.3 MB, free: 63.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.3617, allocations: 7.67 MB / 469.9 MB, free: 61.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3623, allocations: 1.036 MB / 471 MB, free: 60.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004858/0.3628, allocations: 111 kB / 471.1 MB, free: 60.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.3631, allocations: 354.5 kB / 471.4 MB, free: 60.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3631, allocations: 0 / 471.4 MB, free: 60.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/0.4123, allocations: 19.2 MB / 490.6 MB, free: 49.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 0 / 490.6 MB, free: 49.77 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.247051177022513] 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'] 11.734238970035221 11.748978512 11.6338758 Calling exit ...