Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.001286/0.001286, allocations: 119.7 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.001354/0.001354, allocations: 207.3 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.418/1.418, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.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.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",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.002471/0.002471, allocations: 55.91 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1028, allocations: 49.13 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01332/0.1161, allocations: 11.03 MB / 403.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007262/0.1234, allocations: 3.218 MB / 406.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1251, allocations: 43.81 kB / 406.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.1265, allocations: 0.6793 MB / 407.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.1287, allocations: 0.9233 MB / 408 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1305, allocations: 0.9207 MB / 408.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004208/0.1347, allocations: 3.458 MB / 412.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1358, allocations: 0.5937 MB / 413 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.1379, allocations: 1.328 MB / 414.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.14, allocations: 1.533 MB / 415.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006619/0.1407, allocations: 352 kB / 416.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.1414, allocations: 388 kB / 416.6 MB, free: 120 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006556/0.142, allocations: 0.7125 MB / 417.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.1435, allocations: 1.477 MB / 418.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.1483, allocations: 4.273 MB / 423 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1483, allocations: 3.938 kB / 423 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1483, allocations: 0 / 423 MB, free: 9.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001162/0.1484, allocations: 0 / 423 MB, free: 9.625 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007856/0.1563, allocations: 3.198 MB / 426.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1563, allocations: 8.031 kB / 426.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.682e-05/0.1564, allocations: 56.33 kB / 426.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003697/0.1568, allocations: 291.5 kB / 426.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.1573, allocations: 303 kB / 426.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.1599, allocations: 1.428 MB / 428.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.1601, allocations: 164.3 kB / 428.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.1604, allocations: 207.9 kB / 428.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.1643, allocations: 1.885 MB / 430.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.1643, allocations: 0 / 430.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.1645, allocations: 88 kB / 430.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.1646, allocations: 48 kB / 430.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.1687, allocations: 1.91 MB / 432.6 MB, free: 15.84 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.1823, allocations: 7.404 MB / 440 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.1862, allocations: 2.133 MB / 442.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.1891, allocations: 1.304 MB / 443.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.1892, allocations: 33.97 kB / 443.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.1892, allocations: 60.56 kB / 443.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 3.847e-06/0.1892, allocations: 4 kB / 443.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.06182/0.2511, allocations: 17.58 MB / 461.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.2512, allocations: 86.17 kB / 461.2 MB, free: 2.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002747/0.2539, allocations: 1.844 MB / 463.1 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003959/0.2543, allocations: 81.7 kB / 463.1 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1843/0.4386, allocations: 0.9896 MB / 464.1 MB, free: 62.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.4401, allocations: 1.216 MB / 465.3 MB, free: 62.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.4412, allocations: 0.495 MB / 465.8 MB, free: 62.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.4413, allocations: 306.1 kB / 466.1 MB, free: 62.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.4443, allocations: 1.216 MB / 467.3 MB, free: 62.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.447, allocations: 1.531 MB / 468.9 MB, free: 61.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005023/0.452, allocations: 2.878 MB / 471.8 MB, free: 59.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.452, allocations: 5.641 kB / 471.8 MB, free: 59.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01022/0.4623, allocations: 4.415 MB / 476.2 MB, free: 58.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4623, allocations: 9.875 kB / 476.2 MB, free: 58.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.4623, allocations: 4.812 kB / 476.2 MB, free: 58.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/0.4675, allocations: 1.337 MB / 477.5 MB, free: 57.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.4701, allocations: 0.5196 MB / 478 MB, free: 57.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.4917, allocations: 20.61 MB / 498.7 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4942, allocations: 102.3 kB / 498.8 MB, free: 41.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/0.4944, allocations: 111.9 kB / 498.9 MB, free: 41.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.4954, allocations: 0.5859 MB / 499.4 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.4958, allocations: 262.3 kB / 499.7 MB, free: 40.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/0.5044, allocations: 4.354 MB / 0.4922 GB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.5044, allocations: 32 kB / 0.4923 GB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5044, allocations: 4 kB / 0.4923 GB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.5044, allocations: 15.94 kB / 0.4923 GB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.5177, allocations: 8.338 MB / 0.5004 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.5177, allocations: 4 kB / 0.5004 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.5199, allocations: 463.3 kB / 0.5009 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.5245, allocations: 1.259 MB / 0.5021 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.5248, allocations: 63.98 kB / 0.5022 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.5435, allocations: 19.21 MB / 0.5209 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5435, allocations: 0 / 0.5209 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.5549, allocations: 6.077 MB / 0.5269 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.5563, allocations: 0.628 MB / 0.5275 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.5567, allocations: 62.25 kB / 0.5275 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.5584, allocations: 107.9 kB / 0.5276 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007716/0.5592, allocations: 262.7 kB / 0.5279 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/0.5594, allocations: 90.52 kB / 0.528 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.5612, allocations: 1.286 MB / 0.5292 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5612, allocations: 0 / 0.5292 GB, free: 13.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002908/0.5641, allocations: 0.8633 MB / 0.5301 GB, free: 12.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01508/0.5792, allocations: 6.973 MB / 0.5369 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008466/0.5877, allocations: 4.277 MB / 0.5411 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5877, allocations: 1.125 kB / 0.5411 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005058/0.5928, allocations: 2.85 MB / 0.5438 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5948, allocations: 389.5 kB / 0.5442 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04656/0.6413, allocations: 23.47 MB / 0.5671 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.6431, allocations: 1.71 MB / 0.5688 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001617/0.6447, allocations: 292.1 kB / 0.5691 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.6463, allocations: 1.046 MB / 0.5701 GB, free: 2.734 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6463, allocations: 0 / 0.5701 GB, free: 2.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3323/0.9787, allocations: 76.71 MB / 0.645 GB, free: 161.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.06/21.03, allocations: 8.812 kB / 0.645 GB, free: 161.4 MB / 494.1 MB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.59529778000433] Failed to read output from testmodel.py, exit status != 0: ['time', 'advancedFeed_x.v', 'advancedSolenoid.c_par1.v', 'advancedSolenoid.c_par2.v', 'advancedSolenoid.coil1.Phi', 'advancedSolenoid.coil2.Phi', 'advancedSolenoid.x', 'simpleFeed_x.v', 'simpleSolenoid.coil.Phi', 'simpleSolenoid.x'] 21.28755277802702 21.296486054 21.145976413 Calling exit ...