Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.001539/0.001539, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001782/0.001782, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.94 kB / 378.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2354, allocations: 53.36 MB / 431.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01386/0.2492, allocations: 11.49 MB / 443.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.2579, allocations: 3.546 MB / 447 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.2604, allocations: 47.75 kB / 447 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.262, allocations: 0.6987 MB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.2649, allocations: 1.001 MB / 448.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.2672, allocations: 0.9323 MB / 449.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.2715, allocations: 3.564 MB / 453.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2725, allocations: 0.6059 MB / 453.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.2745, allocations: 1.359 MB / 455.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.2764, allocations: 1.576 MB / 456.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.2769, allocations: 360 kB / 457.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.2774, allocations: 392 kB / 457.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.2781, allocations: 0.7359 MB / 458.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.2795, allocations: 1.528 MB / 459.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.284, allocations: 4.425 MB / 464.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.284, allocations: 0 / 464.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.284, allocations: 0 / 464.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.915e-05/0.2841, allocations: 0 / 464.2 MB, free: 6.602 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.007311/0.2914, allocations: 3.213 MB / 467.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2915, allocations: 8.031 kB / 467.4 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.286e-05/0.2915, allocations: 60.36 kB / 467.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003528/0.2919, allocations: 291.7 kB / 467.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2929, allocations: 362.9 kB / 468.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.2955, allocations: 1.415 MB / 469.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.2957, allocations: 156.2 kB / 469.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.296, allocations: 208 kB / 469.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.2994, allocations: 1.874 MB / 471.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.2995, allocations: 3.953 kB / 471.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.2997, allocations: 88 kB / 471.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.2997, allocations: 48 kB / 471.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.3034, allocations: 1.863 MB / 473.7 MB, free: 12.85 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.01277/0.3162, allocations: 7.354 MB / 481.1 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.3198, allocations: 1.992 MB / 483.1 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.3225, allocations: 1.268 MB / 484.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3226, allocations: 33.97 kB / 484.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/0.3227, allocations: 68.56 kB / 484.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.328e-06/0.3227, allocations: 0 / 484.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06176/0.3844, allocations: 17.26 MB / 0.4899 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3845, allocations: 86.2 kB / 0.49 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.3875, allocations: 1.984 MB / 0.492 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.3878, allocations: 89.7 kB / 0.492 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.3887, allocations: 1.035 MB / 0.4931 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.3899, allocations: 1.231 MB / 0.4943 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009408/0.3908, allocations: 0.4957 MB / 0.4947 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.391, allocations: 309.1 kB / 0.495 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.3935, allocations: 1.193 MB / 0.4962 GB, free: 9.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.3962, allocations: 1.52 MB / 0.4977 GB, free: 8.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005373/0.4015, allocations: 2.855 MB / 0.5005 GB, free: 5.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4016, allocations: 0 / 0.5005 GB, free: 5.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01054/0.4121, allocations: 4.406 MB / 0.5048 GB, free: 1.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4121, allocations: 10.5 kB / 0.5048 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4121, allocations: 4 kB / 0.5048 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005486/0.4176, allocations: 1.345 MB / 0.5061 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.4205, allocations: 0.5227 MB / 0.5066 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03223/0.4527, allocations: 19.95 MB / 0.5261 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.4553, allocations: 91.95 kB / 0.5262 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/0.4558, allocations: 104 kB / 0.5263 GB, free: 10.18 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.001651/0.4575, allocations: 0.6043 MB / 0.5269 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/0.4582, allocations: 286.1 kB / 0.5271 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.4691, allocations: 4.328 MB / 0.5314 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.4691, allocations: 36 kB / 0.5314 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4691, allocations: 0 / 0.5314 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.4692, allocations: 19.94 kB / 0.5314 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.248/0.7171, allocations: 8.329 MB / 0.5396 GB, free: 99.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7171, allocations: 0 / 0.5396 GB, free: 99.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.7193, allocations: 452.5 kB / 0.54 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005014/0.7243, allocations: 1.271 MB / 0.5412 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/0.7246, allocations: 66.8 kB / 0.5413 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/0.7447, allocations: 18.54 MB / 0.5594 GB, free: 85.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7448, allocations: 7.875 kB / 0.5594 GB, free: 85.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.7559, allocations: 6.026 MB / 0.5653 GB, free: 81.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.7572, allocations: 0.5636 MB / 0.5658 GB, free: 81.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.7575, allocations: 67.95 kB / 0.5659 GB, free: 80.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.7591, allocations: 101 kB / 0.566 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006053/0.7597, allocations: 271.8 kB / 0.5663 GB, free: 80.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.7599, allocations: 87.08 kB / 0.5664 GB, free: 80.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.7613, allocations: 1.388 MB / 0.5677 GB, free: 79.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7613, allocations: 0 / 0.5677 GB, free: 79.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002193/0.7635, allocations: 0.8819 MB / 0.5686 GB, free: 78.55 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.01132/0.7748, allocations: 6.916 MB / 0.5753 GB, free: 72.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006746/0.7815, allocations: 4.234 MB / 0.5795 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7815, allocations: 4.125 kB / 0.5795 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/0.7855, allocations: 2.82 MB / 0.5822 GB, free: 64.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.788, allocations: 421.3 kB / 0.5826 GB, free: 64.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/0.8324, allocations: 23.95 MB / 0.606 GB, free: 40.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.834, allocations: 1.747 MB / 0.6077 GB, free: 38.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00197/0.836, allocations: 304.8 kB / 0.608 GB, free: 38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.8376, allocations: 1.093 MB / 0.6091 GB, free: 36.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8376, allocations: 0 / 0.6091 GB, free: 36.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/0.9902, allocations: 81.63 MB / 0.6888 GB, free: 3.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/21.81, allocations: 4.062 kB / 0.6888 GB, free: 3.695 MB / 494.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 26.002855302998796]