Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",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.00131/0.001317, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001507/0.001507, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.469/1.469, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.003007/0.003007, allocations: 56.23 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1187, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2298/0.3486, allocations: 6.323 MB / 381 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3522, allocations: 2.13 MB / 383.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.3528, allocations: 20.44 kB / 383.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.3537, allocations: 354.4 kB / 383.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3548, allocations: 490 kB / 383.9 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/0.3558, allocations: 429 kB / 384.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.3575, allocations: 1.55 MB / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.3582, allocations: 0.5119 MB / 386.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007367/0.359, allocations: 0.5697 MB / 387 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008438/0.3598, allocations: 0.6695 MB / 387.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.3601, allocations: 159.3 kB / 387.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.3604, allocations: 188.2 kB / 388 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.3607, allocations: 327 kB / 388.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.3613, allocations: 0.6632 MB / 389 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.3638, allocations: 1.941 MB / 390.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3638, allocations: 0 / 390.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3638, allocations: 1.188 kB / 390.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.3638, allocations: 0 / 390.9 MB, free: 5.602 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003595/0.3674, allocations: 1.579 MB / 392.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.3675, allocations: 9.094 kB / 392.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.3677, allocations: 150.3 kB / 392.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.368, allocations: 137.3 kB / 392.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.3694, allocations: 0.7143 MB / 393.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.3695, allocations: 76.88 kB / 393.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.3697, allocations: 103.4 kB / 393.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.3719, allocations: 1.006 MB / 394.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3719, allocations: 6.266 kB / 394.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.372, allocations: 40.5 kB / 394.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.372, allocations: 23.03 kB / 394.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.3742, allocations: 0.8941 MB / 395.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005265/0.3794, allocations: 3.63 MB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.3823, allocations: 0.9023 MB / 400.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.3831, allocations: 367 kB / 400.5 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.3832, allocations: 17.91 kB / 400.6 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3832, allocations: 42.62 kB / 400.6 MB, free: 140 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.3832, allocations: 0 / 400.6 MB, free: 140 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005303/0.3886, allocations: 1.818 MB / 402.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.3887, allocations: 84.39 kB / 402.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.3901, allocations: 0.9792 MB / 403.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3902, allocations: 36.05 kB / 403.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.3907, allocations: 0.5332 MB / 404.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.3909, allocations: 246.3 kB / 404.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.3912, allocations: 158.6 kB / 404.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3914, allocations: 341.1 kB / 404.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.3924, allocations: 343.5 kB / 405.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3935, allocations: 0.5166 MB / 405.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.3955, allocations: 0.8262 MB / 406.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3955, allocations: 1.375 kB / 406.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002446/0.3979, allocations: 1.025 MB / 407.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.398, allocations: 15.48 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.398, allocations: 5.844 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.398, allocations: 9.781 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3993, allocations: 282.9 kB / 407.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.3993, allocations: 13.62 kB / 407.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.4002, allocations: 66.14 kB / 407.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.4003, allocations: 41.89 kB / 407.9 MB, free: 11.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005518/0.4008, allocations: 287.1 kB / 408.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.4012, allocations: 106.8 kB / 408.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.4022, allocations: 390.8 kB / 408.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4023, allocations: 6.844 kB / 408.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.4023, allocations: 0.9062 kB / 408.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4023, allocations: 3.984 kB / 408.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.4066, allocations: 2.294 MB / 411 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4066, allocations: 6.531 kB / 411 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/0.4075, allocations: 210.2 kB / 411.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.4075, allocations: 8.875 kB / 411.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.4076, allocations: 19.56 kB / 411.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/0.4076, allocations: 22.39 kB / 411.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.567e-06/0.4076, allocations: 14.38 kB / 411.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.4095, allocations: 1.029 MB / 412.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4099, allocations: 190.6 kB / 412.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.41, allocations: 26.02 kB / 412.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.4106, allocations: 50.7 kB / 412.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4108, allocations: 64.56 kB / 412.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.4109, allocations: 29.98 kB / 412.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.412, allocations: 0.6768 MB / 413.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.412, allocations: 0 / 413.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009219/0.4129, allocations: 203.2 kB / 413.5 MB, free: 7.809 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003426/0.4164, allocations: 1.854 MB / 415.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.4184, allocations: 0.7689 MB / 416.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4184, allocations: 0 / 416.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.4193, allocations: 373.5 kB / 416.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.4207, allocations: 208 kB / 416.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.439, allocations: 8.423 MB / 425.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009521/0.44, allocations: 1.018 MB / 426.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000737/0.4408, allocations: 127.2 kB / 426.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.4414, allocations: 379.3 kB / 426.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 2.214e-06/0.4414, allocations: 0 / 426.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05401/0.4954, allocations: 20.05 MB / 446.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.5, allocations: 11.58 kB / 446.7 MB, free: 6.492 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches