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.001314/0.001314, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001438/0.001438, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.00186/0.00186, allocations: 59.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2741, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01392/0.288, allocations: 11.49 MB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.2964, allocations: 3.554 MB / 447 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.2991, allocations: 39.81 kB / 447.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.3016, allocations: 0.6987 MB / 447.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.3062, allocations: 1.005 MB / 448.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.3089, allocations: 0.9356 MB / 449.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006869/0.3158, allocations: 3.559 MB / 453.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.3172, allocations: 0.6059 MB / 453.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.32, allocations: 1.359 MB / 455.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.3228, allocations: 1.584 MB / 456.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005846/0.3234, allocations: 356 kB / 457.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.3242, allocations: 391.9 kB / 457.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.3249, allocations: 0.732 MB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3267, allocations: 1.532 MB / 459.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006006/0.3327, allocations: 4.421 MB / 464.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3327, allocations: 0 / 464.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3327, allocations: 0 / 464.2 MB, free: 6.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.85e-05/0.3328, allocations: 8 kB / 464.2 MB, free: 6.297 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.008004/0.3408, allocations: 3.205 MB / 467.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3409, allocations: 12.03 kB / 467.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.632e-05/0.3409, allocations: 56.36 kB / 467.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003756/0.3413, allocations: 291.7 kB / 467.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.3424, allocations: 370.8 kB / 468.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.3455, allocations: 1.411 MB / 469.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.3456, allocations: 164.2 kB / 469.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.3459, allocations: 200 kB / 469.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.3497, allocations: 1.874 MB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.284e-05/0.3497, allocations: 3.953 kB / 471.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.3499, allocations: 88 kB / 471.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.35, allocations: 48 kB / 471.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.354, allocations: 1.859 MB / 473.8 MB, free: 12.55 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.01402/0.368, allocations: 7.354 MB / 481.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.3719, allocations: 1.98 MB / 483.1 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.3747, allocations: 1.276 MB / 484.4 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3748, allocations: 33.97 kB / 484.4 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.3749, allocations: 64.5 kB / 484.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 3.867e-06/0.3749, allocations: 0 / 484.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06625/0.4412, allocations: 17.26 MB / 0.49 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.4412, allocations: 86.2 kB / 0.4901 GB, free: 112 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.4449, allocations: 1.992 MB / 0.492 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.4453, allocations: 81.7 kB / 0.4921 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/0.4462, allocations: 1.042 MB / 0.4931 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.4476, allocations: 1.231 MB / 0.4943 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.4487, allocations: 0.4957 MB / 0.4948 GB, free: 11.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4489, allocations: 305.1 kB / 0.4951 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.4516, allocations: 1.197 MB / 0.4963 GB, free: 9.688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.4548, allocations: 1.514 MB / 0.4977 GB, free: 8.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005965/0.4607, allocations: 2.851 MB / 0.5005 GB, free: 5.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4608, allocations: 0 / 0.5005 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01178/0.4725, allocations: 4.414 MB / 0.5048 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4726, allocations: 4 kB / 0.5048 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4726, allocations: 4 kB / 0.5048 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005649/0.4782, allocations: 1.345 MB / 0.5062 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.481, allocations: 0.5149 MB / 0.5067 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03081/0.5118, allocations: 19.96 MB / 0.5261 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.5145, allocations: 92.03 kB / 0.5262 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005903/0.5151, allocations: 108 kB / 0.5263 GB, free: 9.875 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.00183/0.5169, allocations: 0.5901 MB / 0.5269 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000778/0.5177, allocations: 286.2 kB / 0.5272 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.5291, allocations: 4.328 MB / 0.5314 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.5291, allocations: 36 kB / 0.5314 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.5292, allocations: 8 kB / 0.5315 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/0.5292, allocations: 15.94 kB / 0.5315 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2457/0.7749, allocations: 8.324 MB / 0.5396 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.7749, allocations: 4.781 kB / 0.5396 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/0.7773, allocations: 447.7 kB / 0.54 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/0.7825, allocations: 1.266 MB / 0.5413 GB, free: 98.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/0.7831, allocations: 70.34 kB / 0.5413 GB, free: 98.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.8035, allocations: 18.55 MB / 0.5595 GB, free: 85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8035, allocations: 3.75 kB / 0.5595 GB, free: 85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.8152, allocations: 6.031 MB / 0.5653 GB, free: 81.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.8169, allocations: 0.5679 MB / 0.5659 GB, free: 80.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006062/0.8175, allocations: 59.12 kB / 0.566 GB, free: 80.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.8194, allocations: 97.17 kB / 0.5661 GB, free: 80.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006915/0.8201, allocations: 272.8 kB / 0.5663 GB, free: 80.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.8202, allocations: 93.91 kB / 0.5664 GB, free: 80.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.8218, allocations: 1.386 MB / 0.5678 GB, free: 79.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8218, allocations: 0 / 0.5678 GB, free: 79.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002723/0.8245, allocations: 0.8828 MB / 0.5686 GB, free: 78.15 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.01197/0.8365, allocations: 6.919 MB / 0.5754 GB, free: 71.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006985/0.8435, allocations: 4.24 MB / 0.5795 GB, free: 67.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.8435, allocations: 1.125 kB / 0.5795 GB, free: 67.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.8478, allocations: 2.824 MB / 0.5823 GB, free: 64.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.8508, allocations: 400.7 kB / 0.5827 GB, free: 64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04787/0.8987, allocations: 23.95 MB / 0.606 GB, free: 39.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.9001, allocations: 1.747 MB / 0.6078 GB, free: 37.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001952/0.9021, allocations: 304.8 kB / 0.608 GB, free: 37.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.9037, allocations: 1.089 MB / 0.6091 GB, free: 36.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.9037, allocations: 0 / 0.6091 GB, free: 36.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/1.082, allocations: 81.62 MB / 0.6888 GB, free: 3.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.97/23.05, allocations: 7.297 kB / 0.6888 GB, free: 3.145 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.406773742986843]