Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.001639/0.001639, allocations: 110 kB / 20.43 MB, free: 1.453 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.002063/0.002063, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 8 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.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 63.89 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2793, allocations: 53.42 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01432/0.2936, allocations: 11.49 MB / 442.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00851/0.3021, allocations: 3.545 MB / 446.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.3059, allocations: 47.75 kB / 446.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.3087, allocations: 0.7025 MB / 447 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3136, allocations: 0.998 MB / 448 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.3169, allocations: 0.944 MB / 448.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006396/0.3233, allocations: 3.555 MB / 452.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.325, allocations: 0.5979 MB / 453.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.3278, allocations: 1.367 MB / 454.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.3308, allocations: 1.584 MB / 456 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.3319, allocations: 356 kB / 456.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3336, allocations: 396 kB / 456.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.3349, allocations: 0.7281 MB / 457.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.3384, allocations: 1.528 MB / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005964/0.3444, allocations: 4.429 MB / 463.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3444, allocations: 0 / 463.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3444, allocations: 4 kB / 463.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.3445, allocations: 4 kB / 463.4 MB, free: 6.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.008944/0.3535, allocations: 3.205 MB / 466.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.3535, allocations: 12.03 kB / 466.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004616/0.354, allocations: 287.7 kB / 466.9 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.3553, allocations: 370.9 kB / 467.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.3585, allocations: 1.411 MB / 468.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.3587, allocations: 160.1 kB / 468.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.359, allocations: 204 kB / 469.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.3629, allocations: 1.866 MB / 470.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/0.3629, allocations: 7.953 kB / 470.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.3631, allocations: 84 kB / 471 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.3631, allocations: 55.98 kB / 471.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.3669, allocations: 1.859 MB / 472.9 MB, free: 12.63 MB / 382.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.01497/0.3819, allocations: 7.346 MB / 480.3 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.3858, allocations: 1.992 MB / 482.3 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.3886, allocations: 1.268 MB / 483.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.3888, allocations: 37.97 kB / 483.6 MB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.3888, allocations: 56.56 kB / 483.6 MB, free: 1.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.238e-06/0.3888, allocations: 0 / 483.6 MB, free: 1.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06632/0.4552, allocations: 17.27 MB / 0.4892 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.4552, allocations: 90.2 kB / 0.4892 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.459, allocations: 1.984 MB / 0.4912 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004127/0.4594, allocations: 81.7 kB / 0.4913 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.4604, allocations: 1.05 MB / 0.4923 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.462, allocations: 1.228 MB / 0.4935 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.4635, allocations: 0.4996 MB / 0.494 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4636, allocations: 305.1 kB / 0.4943 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.4665, allocations: 1.193 MB / 0.4954 GB, free: 9.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/0.4696, allocations: 1.506 MB / 0.4969 GB, free: 8.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/0.4755, allocations: 2.851 MB / 0.4997 GB, free: 5.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/0.4755, allocations: 11.94 kB / 0.4997 GB, free: 5.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01122/0.4867, allocations: 4.41 MB / 0.504 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.4867, allocations: 10.66 kB / 0.504 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4868, allocations: 4 kB / 0.504 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.4925, allocations: 1.342 MB / 0.5053 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.4953, allocations: 0.511 MB / 0.5058 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03335/0.5286, allocations: 19.96 MB / 0.5253 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.5317, allocations: 92.03 kB / 0.5254 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/0.5324, allocations: 112 kB / 0.5255 GB, free: 9.953 MB / 446.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 (302): * Single equations (assignments): 295 * 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.002201/0.5346, allocations: 0.5902 MB / 0.5261 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009867/0.5356, allocations: 282.2 kB / 0.5264 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5476, allocations: 4.335 MB / 0.5306 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.5477, allocations: 32 kB / 0.5306 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.5477, allocations: 4 kB / 0.5306 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.373e-05/0.5477, allocations: 15.94 kB / 0.5306 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.28/0.8277, allocations: 8.329 MB / 0.5388 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.8277, allocations: 0.7969 kB / 0.5388 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/0.8301, allocations: 452.9 kB / 0.5392 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/0.8355, allocations: 1.264 MB / 0.5404 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004495/0.836, allocations: 72.14 kB / 0.5405 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.8571, allocations: 18.55 MB / 0.5586 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8571, allocations: 3.906 kB / 0.5586 GB, free: 85.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.8684, allocations: 6.031 MB / 0.5645 GB, free: 81.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8698, allocations: 0.5639 MB / 0.5651 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.8702, allocations: 66.95 kB / 0.5651 GB, free: 80.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.8719, allocations: 98.33 kB / 0.5652 GB, free: 80.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000729/0.8726, allocations: 271.7 kB / 0.5655 GB, free: 80.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.8727, allocations: 94.44 kB / 0.5656 GB, free: 80.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001625/0.8744, allocations: 1.387 MB / 0.5669 GB, free: 79.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8744, allocations: 0 / 0.5669 GB, free: 79.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002599/0.877, allocations: 0.8789 MB / 0.5678 GB, free: 78.21 MB / 446.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 (247): * Single equations (assignments): 240 * 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.01212/0.8891, allocations: 6.921 MB / 0.5745 GB, free: 71.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00649/0.8956, allocations: 4.233 MB / 0.5787 GB, free: 67.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.8956, allocations: 5.125 kB / 0.5787 GB, free: 67.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.8996, allocations: 2.824 MB / 0.5814 GB, free: 64.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.9019, allocations: 408.7 kB / 0.5818 GB, free: 64.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/0.9408, allocations: 23.95 MB / 0.6052 GB, free: 39.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.9419, allocations: 1.747 MB / 0.6069 GB, free: 37.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001567/0.9435, allocations: 300.8 kB / 0.6072 GB, free: 37.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.9447, allocations: 1.093 MB / 0.6083 GB, free: 36.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9447, allocations: 0 / 0.6083 GB, free: 36.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/1.118, allocations: 81.59 MB / 0.688 GB, free: 3.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.04/23.16, allocations: 7.562 kB / 0.688 GB, free: 3.266 MB / 494.1 MB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.92889211815782]