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.001281/0.001281, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001453/0.001453, allocations: 208.8 kB / 24.51 MB, free: 3.941 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 7.812 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003008/0.003008, allocations: 55.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2994, allocations: 53.4 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01251/0.3119, allocations: 9.869 MB / 441.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.3192, allocations: 3.447 MB / 445.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.321, allocations: 43.81 kB / 445.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.3224, allocations: 0.7026 MB / 446 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.3249, allocations: 1.005 MB / 447 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3268, allocations: 0.944 MB / 447.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004087/0.3309, allocations: 3.551 MB / 451.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.3318, allocations: 0.6062 MB / 452.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.3337, allocations: 1.367 MB / 453.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.3358, allocations: 1.584 MB / 455 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005339/0.3364, allocations: 360 kB / 455.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.337, allocations: 388 kB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.3376, allocations: 0.7359 MB / 456.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.339, allocations: 1.229 MB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.3434, allocations: 4.444 MB / 462.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3434, allocations: 3.984 kB / 462.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3434, allocations: 0 / 462.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.762e-05/0.3434, allocations: 3.938 kB / 462.2 MB, free: 8.086 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.007373/0.3508, allocations: 3.213 MB / 465.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3509, allocations: 8.031 kB / 465.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.338e-05/0.3509, allocations: 60.3 kB / 465.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/0.3513, allocations: 283.7 kB / 465.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3523, allocations: 370.9 kB / 466.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.3551, allocations: 1.415 MB / 467.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.3553, allocations: 156.2 kB / 467.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.3556, allocations: 204 kB / 467.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.3595, allocations: 2.003 MB / 469.9 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.3595, allocations: 3.953 kB / 469.9 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.3597, allocations: 80 kB / 469.9 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.3598, allocations: 52 kB / 470 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.3635, allocations: 1.867 MB / 471.9 MB, free: 14.18 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.01319/0.3767, allocations: 6.187 MB / 478 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.3804, allocations: 1.978 MB / 480 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.3829, allocations: 1.264 MB / 481.3 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.3831, allocations: 33.98 kB / 481.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.3831, allocations: 64.5 kB / 481.4 MB, free: 4.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.769e-06/0.3831, allocations: 0 / 481.4 MB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06261/0.4457, allocations: 17.27 MB / 498.6 MB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.4458, allocations: 90.2 kB / 498.7 MB, free: 3.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.4487, allocations: 1.992 MB / 0.489 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004392/0.4492, allocations: 81.7 kB / 0.4891 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.4501, allocations: 1.039 MB / 0.4901 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.4513, allocations: 1.231 MB / 0.4913 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009384/0.4522, allocations: 0.4957 MB / 0.4918 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4523, allocations: 304.9 kB / 0.4921 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/0.4548, allocations: 1.193 MB / 0.4932 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.4574, allocations: 1.52 MB / 0.4947 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.4625, allocations: 2.851 MB / 0.4975 GB, free: 8.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.4626, allocations: 4 kB / 0.4975 GB, free: 8.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01076/0.4733, allocations: 4.406 MB / 0.5018 GB, free: 3.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4733, allocations: 8 kB / 0.5018 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.4734, allocations: 4 kB / 0.5018 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/0.4791, allocations: 1.345 MB / 0.5031 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.4821, allocations: 0.5188 MB / 0.5036 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02774/0.5098, allocations: 19.61 MB / 0.5228 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.5124, allocations: 87.97 kB / 0.5229 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.5127, allocations: 108 kB / 0.523 GB, free: 13.14 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.001274/0.514, allocations: 0.5941 MB / 0.5236 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.5145, allocations: 282.2 kB / 0.5238 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.5247, allocations: 4.331 MB / 0.5281 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.5247, allocations: 32 kB / 0.5281 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5247, allocations: 8 kB / 0.5281 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.5248, allocations: 19.92 kB / 0.5281 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.5413, allocations: 7.579 MB / 0.5355 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5413, allocations: 3.938 kB / 0.5355 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2091/0.7504, allocations: 446.9 kB / 0.5359 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006411/0.7568, allocations: 1.264 MB / 0.5372 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006151/0.7574, allocations: 72.55 kB / 0.5372 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.7798, allocations: 18.22 MB / 0.555 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7798, allocations: 3.531 kB / 0.555 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.7908, allocations: 6.027 MB / 0.5609 GB, free: 84.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.7922, allocations: 0.5677 MB / 0.5615 GB, free: 84.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.7926, allocations: 64.09 kB / 0.5615 GB, free: 84.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.7943, allocations: 100.5 kB / 0.5616 GB, free: 84.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/0.795, allocations: 268.9 kB / 0.5619 GB, free: 83.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.7952, allocations: 96.39 kB / 0.562 GB, free: 83.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.7967, allocations: 1.381 MB / 0.5633 GB, free: 82.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7967, allocations: 0 / 0.5633 GB, free: 82.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002768/0.7995, allocations: 0.8857 MB / 0.5642 GB, free: 81.71 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.01226/0.8117, allocations: 6.939 MB / 0.571 GB, free: 75.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00647/0.8182, allocations: 4.236 MB / 0.5751 GB, free: 71.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.8182, allocations: 0 / 0.5751 GB, free: 71.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003919/0.8221, allocations: 2.823 MB / 0.5779 GB, free: 68.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.8241, allocations: 408.1 kB / 0.5783 GB, free: 68.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/0.8637, allocations: 23.94 MB / 0.6016 GB, free: 43.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8648, allocations: 1.179 MB / 0.6028 GB, free: 42.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001707/0.8665, allocations: 296.8 kB / 0.6031 GB, free: 42.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.8679, allocations: 1.089 MB / 0.6041 GB, free: 41.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/0.8679, allocations: 0 / 0.6041 GB, free: 41.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/1.019, allocations: 80.66 MB / 0.6829 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.4/23.42, allocations: 15.8 kB / 0.6829 GB, free: 8.949 MB / 494.1 MB " [Timeout remaining time 636] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.73261685203761]