Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001467/0.001467, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.83 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09719/0.09843, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008294/0.1068, allocations: 6.525 MB / 364.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.1114, allocations: 2.381 MB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1126, allocations: 23.94 kB / 366.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1137, allocations: 361.7 kB / 366.9 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.1157, allocations: 0.5238 MB / 367.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1169, allocations: 462.7 kB / 367.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.1192, allocations: 1.561 MB / 369.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.1201, allocations: 0.5173 MB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1214, allocations: 0.5801 MB / 370.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.1227, allocations: 0.677 MB / 371.2 MB, free: 356 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.123, allocations: 160 kB / 371.3 MB, free: 196 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.1234, allocations: 196 kB / 371.5 MB, free: 0 / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2038/0.3272, allocations: 328.8 kB / 371.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.3284, allocations: 0.6824 MB / 372.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.331, allocations: 1.958 MB / 374.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.331, allocations: 1.672 kB / 374.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.331, allocations: 0 / 374.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.331, allocations: 5.625 kB / 374.5 MB, free: 10.88 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003489/0.3345, allocations: 1.536 MB / 376 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.3346, allocations: 10.03 kB / 376 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.3349, allocations: 151.3 kB / 376.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.3356, allocations: 158.2 kB / 376.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.337, allocations: 0.7265 MB / 377.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.3372, allocations: 81.91 kB / 377.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3374, allocations: 95.81 kB / 377.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.3394, allocations: 0.9852 MB / 378.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.3395, allocations: 1.531 kB / 378.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/0.3396, allocations: 40.66 kB / 378.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.3396, allocations: 24.61 kB / 378.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3414, allocations: 0.8204 MB / 379.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.347, allocations: 3.669 MB / 382.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.3492, allocations: 0.6266 MB / 383.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.3499, allocations: 325.7 kB / 383.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.3499, allocations: 11.48 kB / 383.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.35, allocations: 44.03 kB / 383.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.35, allocations: 0 / 383.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004514/0.3545, allocations: 1.655 MB / 385.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3546, allocations: 88.23 kB / 385.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.3562, allocations: 1.043 MB / 386.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.3562, allocations: 35.89 kB / 386.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.3566, allocations: 0.5529 MB / 387.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.3568, allocations: 226 kB / 387.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3571, allocations: 165.4 kB / 387.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.3571, allocations: 339.2 kB / 387.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.3579, allocations: 314.5 kB / 388.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.3588, allocations: 498.1 kB / 388.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.3605, allocations: 0.7908 MB / 389.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3605, allocations: 1.406 kB / 389.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002326/0.3628, allocations: 0.9626 MB / 390.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.3629, allocations: 7.938 kB / 390.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3629, allocations: 5.469 kB / 390.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.3629, allocations: 9.781 kB / 390.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3642, allocations: 281.7 kB / 390.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-05/0.3643, allocations: 14.66 kB / 390.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.3652, allocations: 48.41 kB / 390.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.3653, allocations: 38.09 kB / 390.8 MB, free: 3.516 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 (112): * Single equations (assignments): 112 * 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.0006169/0.3659, allocations: 301.3 kB / 391.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.3662, allocations: 108.5 kB / 391.2 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.3671, allocations: 346.7 kB / 391.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3671, allocations: 7.281 kB / 391.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.3671, allocations: 1.219 kB / 391.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3671, allocations: 3.516 kB / 391.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.3713, allocations: 2.297 MB / 393.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.3713, allocations: 9.438 kB / 393.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.3722, allocations: 205.5 kB / 394.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.3722, allocations: 9.438 kB / 394.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.3723, allocations: 26.39 kB / 394.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/0.3723, allocations: 13.84 kB / 394.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.3723, allocations: 10.16 kB / 394.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.3738, allocations: 1.018 MB / 395.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.374, allocations: 197.9 kB / 395.3 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.3741, allocations: 19.16 kB / 395.4 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.3748, allocations: 50.92 kB / 395.4 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3749, allocations: 69.7 kB / 395.5 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.375, allocations: 28.97 kB / 395.5 MB, free: 332 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.376, allocations: 0.7204 MB / 396.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.376, allocations: 0 / 396.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009543/0.377, allocations: 208.9 kB / 396.4 MB, free: 15.9 MB / 318.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.002641/0.3796, allocations: 1.847 MB / 398.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.3812, allocations: 0.7473 MB / 399 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3812, allocations: 3.938 kB / 399 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.3819, allocations: 359.7 kB / 399.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.3831, allocations: 232.5 kB / 399.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.3945, allocations: 9.094 MB / 408.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3951, allocations: 1.034 MB / 409.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005487/0.3957, allocations: 131.5 kB / 409.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.3962, allocations: 399.3 kB / 410.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3962, allocations: 0 / 410.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.5122, allocations: 20.32 MB / 430.6 MB, free: 100 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.1, allocations: 7.562 kB / 430.6 MB, free: 92 kB / 334.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches