Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.001722/0.001722, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001996/0.001996, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 60.05 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 53.38 MB / 427.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.2288/0.335, allocations: 11.44 MB / 438.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007182/0.3422, allocations: 3.879 MB / 442.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.3452, allocations: 46 kB / 442.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009626/0.3549, allocations: 8.144 MB / 450.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007785/0.3627, allocations: 4.731 MB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.3658, allocations: 0.916 MB / 456.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009507/0.3753, allocations: 5.408 MB / 461.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.3768, allocations: 0.605 MB / 462.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007594/0.3844, allocations: 2.933 MB / 465.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.3949, allocations: 5.837 MB / 471 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.3967, allocations: 356 kB / 471.3 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.3989, allocations: 404 kB / 471.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002193/0.4011, allocations: 1.884 MB / 473.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004792/0.4059, allocations: 2.838 MB / 476.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.416, allocations: 7.438 MB / 483.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.416, allocations: 8 kB / 483.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.416, allocations: 0 / 483.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002478/0.4162, allocations: 0 / 483.9 MB, free: 7.699 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01616/0.4324, allocations: 8.031 MB / 491.9 MB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4324, allocations: 16.03 kB / 492 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.517e-05/0.4325, allocations: 52.36 kB / 492 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008491/0.4334, allocations: 291.7 kB / 492.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.4356, allocations: 0.9484 MB / 493.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/0.4414, allocations: 3.313 MB / 496.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.4416, allocations: 156.2 kB / 496.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/0.4422, allocations: 208 kB / 496.9 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.4477, allocations: 2.093 MB / 499 MB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-05/0.4478, allocations: 11.89 kB / 499 MB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.4481, allocations: 87.44 kB / 499.1 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.4481, allocations: 52 kB / 499.1 MB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.4527, allocations: 1.845 MB / 0.4893 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.4753, allocations: 8.981 MB / 0.498 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004734/0.4801, allocations: 2.178 MB / 0.5001 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.4832, allocations: 1.275 MB / 0.5014 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.4834, allocations: 38.28 kB / 0.5014 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002484/0.4858, allocations: 1.132 MB / 0.5025 GB, free: 8.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 6.162e-06/0.4858, allocations: 0 / 0.5025 GB, free: 8.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=371): time 0.07444/0.5603, allocations: 22.79 MB / 0.5248 GB, free: 1.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03207/0.5923, allocations: 13.67 MB / 0.5381 GB, free: 3.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/0.6123, allocations: 15.04 MB / 0.5528 GB, free: 4.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005954/0.6129, allocations: 89.7 kB / 0.5529 GB, free: 4.172 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003964/0.6169, allocations: 3.798 MB / 0.5566 GB, free: 376 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001721/0.6186, allocations: 1.282 MB / 0.5579 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6198, allocations: 0.5197 MB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6199, allocations: 301.1 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/0.6226, allocations: 1.229 MB / 0.5599 GB, free: 13.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.6256, allocations: 1.607 MB / 0.5614 GB, free: 11.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/0.6312, allocations: 2.964 MB / 0.5643 GB, free: 8.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.6313, allocations: 0 / 0.5643 GB, free: 8.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01248/0.6437, allocations: 5.196 MB / 0.5694 GB, free: 3.066 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.6438, allocations: 8 kB / 0.5694 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.6438, allocations: 4.688 kB / 0.5694 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/0.65, allocations: 1.418 MB / 0.5708 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.6532, allocations: 0.5344 MB / 0.5713 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03266/0.6858, allocations: 24.05 MB / 0.5948 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.6892, allocations: 115.9 kB / 0.5949 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/0.6897, allocations: 116 kB / 0.595 GB, free: 7.559 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,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 (313): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.003568/0.6933, allocations: 2.191 MB / 0.5972 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/0.6946, allocations: 0.873 MB / 0.598 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.7069, allocations: 5.167 MB / 0.6031 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/0.7069, allocations: 36 kB / 0.6031 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.707, allocations: 4 kB / 0.6031 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.967e-05/0.707, allocations: 23.88 kB / 0.6031 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/0.7307, allocations: 11.05 MB / 0.6139 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.7307, allocations: 4 kB / 0.6139 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/0.7333, allocations: 447.4 kB / 0.6144 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006002/0.7393, allocations: 1.346 MB / 0.6157 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006275/0.74, allocations: 71.97 kB / 0.6157 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2429/0.9828, allocations: 21.94 MB / 0.6372 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02564/1.008, allocations: 11.98 MB / 0.6489 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.024, allocations: 6.904 MB / 0.6556 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.026, allocations: 0.811 MB / 0.6564 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.027, allocations: 69.53 kB / 0.6565 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/1.029, allocations: 94.8 kB / 0.6565 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.03, allocations: 275 kB / 0.6568 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.031, allocations: 95.59 kB / 0.6569 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01449/1.045, allocations: 11.22 MB / 0.6679 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/1.045, allocations: 0 / 0.6679 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004863/1.05, allocations: 1.094 MB / 0.6689 GB, free: 132.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01467/1.065, allocations: 7.879 MB / 0.6766 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007282/1.072, allocations: 4.587 MB / 0.6811 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.072, allocations: 0 / 0.6811 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004431/1.076, allocations: 3.126 MB / 0.6842 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/1.081, allocations: 0.5727 MB / 0.6847 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08341/1.164, allocations: 56.31 MB / 0.7397 GB, free: 62.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/1.168, allocations: 4.046 MB / 0.7437 GB, free: 58.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001932/1.17, allocations: 317.5 kB / 0.744 GB, free: 58.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003217/1.173, allocations: 3.28 MB / 0.7472 GB, free: 55.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.293e-06/1.173, allocations: 0 / 0.7472 GB, free: 55.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4962/1.67, allocations: 145.2 MB / 0.889 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 89.59/91.26, allocations: 7.141 kB / 0.889 GB, free: 121.4 MB / 0.5294 GB " [Timeout remaining time 568] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=9.01713e-06 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 94.32811049598968] Failed to read output from testmodel.py, exit status != 0: ['time', 'advancedSolenoid.armature.stopper_xMax.v_rel', 'advancedSolenoid.c_par1.v', 'advancedSolenoid.c_par2.v', 'advancedSolenoid.coil1.Phi', 'advancedSolenoid.coil2.Phi', 'advancedSolenoid.x', 'simpleSolenoid.armature.stopper_xMax.v_rel', 'simpleSolenoid.coil.Phi', 'simpleSolenoid.x'] 91.5702995089814 91.583619475 91.164267845 Calling exit ...