Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_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.001607/0.001607, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001719/0.001719, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2947, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009087/0.3038, allocations: 6.416 MB / 406.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.3083, allocations: 2.181 MB / 408.8 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.3091, allocations: 19.94 kB / 408.8 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.31, allocations: 357.9 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.3113, allocations: 488.6 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3124, allocations: 446.9 kB / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.3144, allocations: 1.546 MB / 411.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.3152, allocations: 0.5091 MB / 412.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.316, allocations: 0.5723 MB / 412.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.3169, allocations: 0.6654 MB / 413.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.3171, allocations: 164 kB / 413.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.3174, allocations: 183.9 kB / 413.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.3178, allocations: 319 kB / 414.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.3185, allocations: 0.6727 MB / 414.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.3209, allocations: 1.933 MB / 416.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3209, allocations: 0 / 416.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3209, allocations: 0 / 416.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.3209, allocations: 0 / 416.7 MB, free: 8.32 MB / 334.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.003382/0.3243, allocations: 1.58 MB / 418.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3244, allocations: 8.031 kB / 418.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.3246, allocations: 144.2 kB / 418.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.3248, allocations: 136.1 kB / 418.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.3262, allocations: 0.7207 MB / 419.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.3263, allocations: 78.38 kB / 419.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.3265, allocations: 103.8 kB / 419.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.3285, allocations: 1.005 MB / 420.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.3285, allocations: 7.938 kB / 420.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.937e-05/0.3286, allocations: 44 kB / 420.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.3287, allocations: 24 kB / 420.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.3309, allocations: 0.8835 MB / 421.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006311/0.3372, allocations: 3.63 MB / 425 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3403, allocations: 0.8987 MB / 425.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.3412, allocations: 373.5 kB / 426.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.3413, allocations: 11.98 kB / 426.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.3413, allocations: 42.42 kB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.996e-06/0.3414, allocations: 0 / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005301/0.3467, allocations: 1.81 MB / 428.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.3468, allocations: 89.05 kB / 428.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.3483, allocations: 0.9819 MB / 429.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.3483, allocations: 37.7 kB / 429.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.3488, allocations: 0.5273 MB / 429.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.349, allocations: 245.9 kB / 430 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.3493, allocations: 166.5 kB / 430.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3495, allocations: 337.9 kB / 430.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.3505, allocations: 337.8 kB / 430.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3516, allocations: 0.5222 MB / 431.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.3536, allocations: 0.8251 MB / 432.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3536, allocations: 4 kB / 432.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002614/0.3563, allocations: 1.025 MB / 433.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3563, allocations: 8 kB / 433.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3563, allocations: 4 kB / 433.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.3564, allocations: 12 kB / 433.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.3576, allocations: 283.6 kB / 433.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.3576, allocations: 11.94 kB / 433.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/0.3585, allocations: 67.92 kB / 433.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.3586, allocations: 39.97 kB / 433.6 MB, free: 6.812 MB / 350.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.000496/0.3591, allocations: 285.6 kB / 433.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3592, allocations: 107.3 kB / 434 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3603, allocations: 383.8 kB / 434.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.3603, allocations: 8 kB / 434.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3603, allocations: 4 kB / 434.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3603, allocations: 3.984 kB / 434.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/0.3648, allocations: 2.299 MB / 436.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.3648, allocations: 4.844 kB / 436.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.3657, allocations: 211.6 kB / 436.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.569e-05/0.3657, allocations: 8 kB / 436.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.3658, allocations: 20 kB / 436.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/0.3658, allocations: 23.86 kB / 437 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.3658, allocations: 8 kB / 437 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.3677, allocations: 1.038 MB / 438 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.368, allocations: 192.4 kB / 438.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3681, allocations: 23.98 kB / 438.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.3687, allocations: 51.89 kB / 438.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3688, allocations: 63.81 kB / 438.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.3689, allocations: 31.98 kB / 438.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.3699, allocations: 0.6786 MB / 439 MB, free: 1.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3699, allocations: 0 / 439 MB, free: 1.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.3708, allocations: 204 kB / 439.2 MB, free: 0.9141 MB / 350.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.003383/0.3742, allocations: 1.863 MB / 441.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.3762, allocations: 0.7647 MB / 441.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3762, allocations: 0 / 441.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.3771, allocations: 369.8 kB / 442.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.3783, allocations: 202.3 kB / 442.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.393, allocations: 8.432 MB / 450.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.3939, allocations: 1.019 MB / 451.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.3945, allocations: 123.2 kB / 452 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/0.3951, allocations: 387.3 kB / 452.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3951, allocations: 0 / 452.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.4512, allocations: 20.05 MB / 472.4 MB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.928/10.38, allocations: 7.234 kB / 472.4 MB, free: 15.56 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches