Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 175.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007435/0.0007434, allocations: 92.95 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.007783/0.2193, allocations: 9.642 MB / 384.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.2249, allocations: 3.092 MB / 387.8 MB, free: 35.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.2266, allocations: 38.72 kB / 387.9 MB, free: 35.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.2277, allocations: 0.5652 MB / 388.4 MB, free: 34.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.2301, allocations: 0.7516 MB / 389.2 MB, free: 34.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2315, allocations: 0.5542 MB / 389.7 MB, free: 33.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002829/0.2344, allocations: 3.076 MB / 392.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009018/0.2353, allocations: 0.7582 MB / 393.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2364, allocations: 1.019 MB / 394.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.2376, allocations: 1.237 MB / 395.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.2379, allocations: 140 kB / 396 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.2382, allocations: 164 kB / 396.1 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.2385, allocations: 497.9 kB / 396.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008427/0.2394, allocations: 1.218 MB / 397.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.2412, allocations: 3.342 MB / 401.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2412, allocations: 0 / 401.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2412, allocations: 0 / 401.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.56e-05/0.2413, allocations: 0 / 401.2 MB, free: 22.53 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005084/0.2464, allocations: 2.71 MB / 403.9 MB, free: 19.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2465, allocations: 8.031 kB / 403.9 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.2468, allocations: 297.3 kB / 404.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.2487, allocations: 1.38 MB / 405.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.2488, allocations: 156.5 kB / 405.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.249, allocations: 216 kB / 405.9 MB, free: 17.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.2522, allocations: 1.908 MB / 407.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.2523, allocations: 7.906 kB / 407.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.2524, allocations: 84 kB / 407.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.2524, allocations: 48 kB / 408 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.256, allocations: 1.957 MB / 409.9 MB, free: 13.58 MB / 298.7 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.00999/0.266, allocations: 7.488 MB / 417.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.2692, allocations: 2.289 MB / 419.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.2731, allocations: 1.378 MB / 421.1 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.2733, allocations: 33.97 kB / 421.1 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2734, allocations: 56.56 kB / 421.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=234): time 6.733e-06/0.2734, allocations: 0 / 421.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=351): time 0.1094/0.3828, allocations: 17.89 MB / 439.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3829, allocations: 86.17 kB / 439.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.3857, allocations: 1.832 MB / 441 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/0.3861, allocations: 81.7 kB / 441.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/0.3869, allocations: 0.981 MB / 442 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/0.3881, allocations: 1.163 MB / 443.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.3884, allocations: 64 kB / 443.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3886, allocations: 424.7 kB / 443.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.3914, allocations: 1.232 MB / 444.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.3943, allocations: 1.545 MB / 446.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.3998, allocations: 2.905 MB / 449.4 MB, free: 5.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3998, allocations: 4 kB / 449.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01022/0.4101, allocations: 4.471 MB / 453.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4101, allocations: 4 kB / 453.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4101, allocations: 4 kB / 453.8 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005267/0.4154, allocations: 1.338 MB / 455.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.4181, allocations: 0.5344 MB / 455.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/0.444, allocations: 18.86 MB / 474.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.4464, allocations: 120 kB / 474.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004391/0.4469, allocations: 104 kB / 474.8 MB, free: 10.95 MB / 362.7 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 (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 initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001468/0.4484, allocations: 0.5856 MB / 475.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.449, allocations: 264.8 kB / 475.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.4593, allocations: 4.423 MB / 480.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.4593, allocations: 32 kB / 480.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.4593, allocations: 11.94 kB / 480.1 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.4594, allocations: 15.94 kB / 480.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.4758, allocations: 8.445 MB / 488.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.4758, allocations: 0 / 488.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/0.4782, allocations: 483.3 kB / 489 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004982/0.4832, allocations: 1.255 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/0.4836, allocations: 67.97 kB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.6669, allocations: 17.49 MB / 0.4959 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6669, allocations: 10.47 kB / 0.4959 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.6797, allocations: 6.149 MB / 0.502 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.681, allocations: 0.62 MB / 0.5026 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.6814, allocations: 59.97 kB / 0.5026 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.683, allocations: 133 kB / 0.5027 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/0.6836, allocations: 253.8 kB / 0.503 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.6838, allocations: 90.25 kB / 0.5031 GB, free: 100.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.6855, allocations: 1.279 MB / 0.5043 GB, free: 99.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6855, allocations: 0 / 0.5043 GB, free: 99.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002376/0.6879, allocations: 0.863 MB / 0.5052 GB, free: 99.46 MB / 378.7 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 (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008814/0.6888, allocations: 442.1 kB / 0.5056 GB, free: 99.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006543/0.6953, allocations: 4.465 MB / 0.5099 GB, free: 96.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6954, allocations: 3.812 kB / 0.5099 GB, free: 96.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004049/0.6994, allocations: 2.985 MB / 0.5129 GB, free: 93.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.7018, allocations: 378.7 kB / 0.5132 GB, free: 93.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/0.7102, allocations: 6.717 MB / 0.5198 GB, free: 87.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.7112, allocations: 1.71 MB / 0.5215 GB, free: 85.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.7123, allocations: 183.4 kB / 0.5216 GB, free: 85.49 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7123, allocations: 0 / 0.5216 GB, free: 85.49 MB / 378.7 MB Notification: Performance of Templates: time 0.09801/0.8103, allocations: 118.2 MB / 0.637 GB, free: 15.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches