Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 107.1 kB / 17.58 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 191.9 kB / 18.51 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 224.4 MB, free: 12.33 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 52.25 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08766, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0128/0.1005, allocations: 10.98 MB / 338.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007227/0.1078, allocations: 3.207 MB / 341.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.1101, allocations: 35.94 kB / 341.6 MB, free: 6.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.112, allocations: 0.691 MB / 342.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.1151, allocations: 0.8881 MB / 343.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.1173, allocations: 0.9206 MB / 344.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.1218, allocations: 3.437 MB / 347.6 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1234, allocations: 0.8943 MB / 348.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1255, allocations: 1.281 MB / 349.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.1279, allocations: 1.502 MB / 351.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007691/0.1287, allocations: 352 kB / 351.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1297, allocations: 384 kB / 351.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009858/0.1307, allocations: 0.7164 MB / 352.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002434/0.1332, allocations: 1.477 MB / 354.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.1367, allocations: 4.225 MB / 358.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1367, allocations: 0 / 358.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1367, allocations: 4 kB / 358.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.281e-05/0.1368, allocations: 0 / 358.4 MB, free: 5.23 MB / 302.1 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.006887/0.1436, allocations: 3.115 MB / 361.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1437, allocations: 12.03 kB / 361.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.144, allocations: 287.5 kB / 361.8 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.1445, allocations: 289.5 kB / 362.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.1467, allocations: 1.387 MB / 363.4 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.1469, allocations: 160.5 kB / 363.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.1472, allocations: 211.8 kB / 363.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.1506, allocations: 1.889 MB / 365.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.1506, allocations: 0 / 365.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.1508, allocations: 88 kB / 365.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.1508, allocations: 48 kB / 365.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.1546, allocations: 1.906 MB / 367.7 MB, free: 11.65 MB / 318.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.01135/0.166, allocations: 7.445 MB / 375.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.1695, allocations: 2.277 MB / 377.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.1722, allocations: 1.366 MB / 378.8 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1723, allocations: 41.97 kB / 378.9 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.1724, allocations: 64.55 kB / 378.9 MB, free: 124 kB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.418e-06/0.1724, allocations: 0 / 378.9 MB, free: 124 kB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2097/0.3821, allocations: 17.58 MB / 396.5 MB, free: 45.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3822, allocations: 88.39 kB / 396.6 MB, free: 45.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.3843, allocations: 1.843 MB / 398.4 MB, free: 44.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.3846, allocations: 80.7 kB / 398.5 MB, free: 44.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.3851, allocations: 0.9793 MB / 399.5 MB, free: 43.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/0.3857, allocations: 1.162 MB / 400.7 MB, free: 42.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007123/0.3865, allocations: 495.5 kB / 401.1 MB, free: 42.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.3865, allocations: 309.1 kB / 401.4 MB, free: 41.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.3887, allocations: 1.217 MB / 402.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.3909, allocations: 1.533 MB / 404.2 MB, free: 38.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/0.3955, allocations: 2.876 MB / 407.1 MB, free: 36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.3955, allocations: 4.781 kB / 407.1 MB, free: 36 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.00905/0.4046, allocations: 4.443 MB / 411.5 MB, free: 31.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4046, allocations: 7.938 kB / 411.5 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4047, allocations: 4.875 kB / 411.5 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004987/0.4097, allocations: 1.338 MB / 412.9 MB, free: 30.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/0.4123, allocations: 0.5273 MB / 413.4 MB, free: 29.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.4338, allocations: 20.6 MB / 434 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.4364, allocations: 112 kB / 434.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4366, allocations: 104 kB / 434.2 MB, free: 7.867 MB / 318.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 (298): * Single equations (assignments): 291 * 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.001019/0.4377, allocations: 0.5799 MB / 434.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.438, allocations: 256.8 kB / 435 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/0.4469, allocations: 4.395 MB / 439.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4469, allocations: 32 kB / 439.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4469, allocations: 4 kB / 439.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/0.447, allocations: 15.94 kB / 439.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.4621, allocations: 8.414 MB / 447.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.4622, allocations: 0 / 447.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.4645, allocations: 459.6 kB / 448.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/0.4697, allocations: 1.271 MB / 449.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.47, allocations: 63.98 kB / 449.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.4936, allocations: 19.2 MB / 468.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4936, allocations: 8.016 kB / 468.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.5068, allocations: 6.102 MB / 475 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.5082, allocations: 0.6148 MB / 475.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.5085, allocations: 60 kB / 475.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.5103, allocations: 111.9 kB / 475.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/0.5109, allocations: 258.7 kB / 476 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.5112, allocations: 99.97 kB / 476.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.5128, allocations: 1.282 MB / 477.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5128, allocations: 0 / 477.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002642/0.5155, allocations: 0.8711 MB / 478.3 MB, free: 10.53 MB / 366.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 (243): * Single equations (assignments): 236 * 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.0138/0.5293, allocations: 6.994 MB / 485.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01503/0.5443, allocations: 4.594 MB / 489.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.5444, allocations: 4 kB / 489.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005541/0.5499, allocations: 2.975 MB / 492.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.5524, allocations: 381.6 kB / 493.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.046/0.5984, allocations: 27.06 MB / 0.5081 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.5998, allocations: 1.702 MB / 0.5097 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.6016, allocations: 292.1 kB / 0.51 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.603, allocations: 1.046 MB / 0.511 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.603, allocations: 4 kB / 0.5111 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2427/0.8457, allocations: 74.73 MB / 0.584 GB, free: 87.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/20.36, allocations: 20.11 kB / 0.584 GB, free: 87.94 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches