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.001515/0.001515, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001803/0.001802, allocations: 190 kB / 17.55 MB, free: 5.934 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.284/1.284, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 43.11 kB / 300.2 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0748/0.07587, allocations: 49.45 MB / 349.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006703/0.0826, allocations: 6.392 MB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.08588, allocations: 2.162 MB / 358.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.08662, allocations: 19.94 kB / 358.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.08755, allocations: 306.5 kB / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.08887, allocations: 429.7 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.08977, allocations: 406.9 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.09139, allocations: 1.518 MB / 360.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.09206, allocations: 0.5208 MB / 361.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.09275, allocations: 0.5723 MB / 362 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.09355, allocations: 0.6692 MB / 362.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.09383, allocations: 164 kB / 362.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.09419, allocations: 184 kB / 363 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.09443, allocations: 327 kB / 363.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.09492, allocations: 0.6649 MB / 364 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.09626, allocations: 1.912 MB / 365.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09627, allocations: 0 / 365.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.09628, allocations: 0 / 365.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.0963, allocations: 3.938 kB / 365.9 MB, free: 4.332 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002524/0.09883, allocations: 1.539 MB / 367.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.09887, allocations: 12.03 kB / 367.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.09903, allocations: 144.2 kB / 367.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.09921, allocations: 127.4 kB / 367.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.1001, allocations: 0.7084 MB / 368.4 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1003, allocations: 86.23 kB / 368.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1004, allocations: 99.91 kB / 368.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.1021, allocations: 1.013 MB / 369.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.1022, allocations: 0 / 369.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.1022, allocations: 36 kB / 369.7 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1023, allocations: 27.94 kB / 369.7 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1377/0.24, allocations: 0.8829 MB / 370.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/0.2471, allocations: 3.653 MB / 374.2 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.2501, allocations: 0.8995 MB / 375.1 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/0.251, allocations: 363.9 kB / 375.5 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.2511, allocations: 18.5 kB / 375.5 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2511, allocations: 43.34 kB / 375.5 MB, free: 22.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.2511, allocations: 3.828 kB / 375.5 MB, free: 22.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005039/0.2562, allocations: 1.776 MB / 377.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2562, allocations: 83.64 kB / 377.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.2574, allocations: 0.9762 MB / 378.4 MB, free: 21.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.2575, allocations: 36.42 kB / 378.4 MB, free: 21.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.2578, allocations: 0.5267 MB / 378.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.258, allocations: 229.1 kB / 379.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.2582, allocations: 162.9 kB / 379.3 MB, free: 20.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.2583, allocations: 340.3 kB / 379.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.2592, allocations: 343.9 kB / 380 MB, free: 20.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.2601, allocations: 0.5171 MB / 380.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2617, allocations: 0.8291 MB / 381.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2617, allocations: 2.875 kB / 381.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002126/0.2638, allocations: 1.02 MB / 382.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2639, allocations: 8.438 kB / 382.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2639, allocations: 5.094 kB / 382.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.2639, allocations: 9.719 kB / 382.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2651, allocations: 285.4 kB / 382.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.2652, allocations: 15.83 kB / 382.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.2659, allocations: 74.67 kB / 382.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.266, allocations: 31.52 kB / 382.8 MB, free: 19.18 MB / 302.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.0003246/0.2663, allocations: 292 kB / 383.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.2664, allocations: 99.77 kB / 383.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.2673, allocations: 388 kB / 383.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.2674, allocations: 13.58 kB / 383.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.2674, allocations: 5.031 kB / 383.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2674, allocations: 4.406 kB / 383.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.2705, allocations: 2.312 MB / 385.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2706, allocations: 7.312 kB / 385.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.2714, allocations: 205.4 kB / 386.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2714, allocations: 13.03 kB / 386.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.2714, allocations: 27.55 kB / 386.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.2714, allocations: 9.375 kB / 386.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.2715, allocations: 15.64 kB / 386.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2728, allocations: 1.023 MB / 387.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2729, allocations: 185.2 kB / 387.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.273, allocations: 18.5 kB / 387.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.2737, allocations: 55.72 kB / 387.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.2738, allocations: 65.78 kB / 387.5 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.2738, allocations: 24.59 kB / 387.5 MB, free: 16.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006718/0.2745, allocations: 0.6811 MB / 388.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2745, allocations: 7.609 kB / 388.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.2752, allocations: 207.9 kB / 388.4 MB, free: 15.84 MB / 302.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.002034/0.2772, allocations: 1.849 MB / 390.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2787, allocations: 0.7776 MB / 391 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2788, allocations: 1.375 kB / 391 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.2795, allocations: 377.4 kB / 391.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2806, allocations: 207.2 kB / 391.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.2917, allocations: 9.375 MB / 401 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2921, allocations: 1.014 MB / 402 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004861/0.2925, allocations: 127.2 kB / 402.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.2929, allocations: 386.3 kB / 402.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2929, allocations: 0 / 402.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3584/0.6513, allocations: 19.35 MB / 421.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.6517, allocations: 282.3 kB / 422.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/3.764, allocations: 3.25 kB / 422.1 MB, free: 0.7188 MB / 318.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