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.001119/0.001119, allocations: 115.9 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.42 kB / 306.6 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008785/0.1234, allocations: 6.522 MB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.128, allocations: 2.35 MB / 366 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.1291, allocations: 19.94 kB / 366 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.1304, allocations: 310.5 kB / 366.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.1326, allocations: 477.2 kB / 366.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1339, allocations: 403.4 kB / 367.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.136, allocations: 1.561 MB / 368.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009481/0.137, allocations: 0.5056 MB / 369.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1381, allocations: 0.5917 MB / 369.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.1391, allocations: 0.677 MB / 370.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.1395, allocations: 160 kB / 370.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.14, allocations: 208 kB / 370.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.1403, allocations: 330.9 kB / 371.2 MB, free: 172 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1813/0.3216, allocations: 0.674 MB / 371.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.324, allocations: 1.964 MB / 373.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3241, allocations: 0 / 373.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3241, allocations: 1.188 kB / 373.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.3241, allocations: 0 / 373.8 MB, free: 11.25 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.002868/0.327, allocations: 1.536 MB / 375.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.327, allocations: 11.25 kB / 375.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.3272, allocations: 151.8 kB / 375.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.3279, allocations: 163.4 kB / 375.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.329, allocations: 0.7228 MB / 376.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.3292, allocations: 85.48 kB / 376.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3293, allocations: 94.34 kB / 376.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.3313, allocations: 0.9808 MB / 377.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.3313, allocations: 2.031 kB / 377.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.3314, allocations: 43.41 kB / 377.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.3315, allocations: 23.47 kB / 377.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3331, allocations: 0.8178 MB / 378.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.3385, allocations: 3.673 MB / 382.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3405, allocations: 0.6263 MB / 382.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.3411, allocations: 324.5 kB / 383 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.3411, allocations: 13.23 kB / 383.1 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3412, allocations: 45.11 kB / 383.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/0.3412, allocations: 0 / 383.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004089/0.3453, allocations: 1.657 MB / 384.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3453, allocations: 88.7 kB / 384.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3467, allocations: 1.037 MB / 385.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.3467, allocations: 35.95 kB / 385.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.347, allocations: 0.5557 MB / 386.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3471, allocations: 224.8 kB / 386.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.3474, allocations: 166.4 kB / 386.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.3475, allocations: 336.6 kB / 387.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.3482, allocations: 313.3 kB / 387.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/0.3491, allocations: 0.4911 MB / 388 MB, free: 4.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.3507, allocations: 0.7775 MB / 388.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.3507, allocations: 1.469 kB / 388.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002473/0.3532, allocations: 0.9758 MB / 389.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.3532, allocations: 7.281 kB / 389.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3532, allocations: 9.906 kB / 389.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.3533, allocations: 8.969 kB / 389.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.3545, allocations: 275.5 kB / 390 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/0.3546, allocations: 13.94 kB / 390 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.3559, allocations: 56.16 kB / 390.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3561, allocations: 30.91 kB / 390.1 MB, free: 3.824 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.0007799/0.3569, allocations: 305.3 kB / 390.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.3572, allocations: 104.7 kB / 390.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3583, allocations: 353.1 kB / 390.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3583, allocations: 6.938 kB / 390.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.3584, allocations: 5.094 kB / 390.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3584, allocations: 5.078 kB / 390.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.363, allocations: 2.291 MB / 393.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.3631, allocations: 10.81 kB / 393.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.364, allocations: 212.3 kB / 393.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/0.364, allocations: 9.25 kB / 393.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.3641, allocations: 20.59 kB / 393.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-05/0.3641, allocations: 16.3 kB / 393.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.3641, allocations: 9.094 kB / 393.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3659, allocations: 1.019 MB / 394.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.3664, allocations: 194 kB / 394.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.3667, allocations: 23 kB / 394.7 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/0.3676, allocations: 50.08 kB / 394.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.3677, allocations: 63.91 kB / 394.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.3678, allocations: 29.98 kB / 394.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.369, allocations: 0.7171 MB / 395.5 MB, free: 212 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.369, allocations: 0 / 395.5 MB, free: 212 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001212/0.3702, allocations: 212 kB / 395.7 MB, free: 188 kB / 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.00285/0.3731, allocations: 1.858 MB / 397.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.3748, allocations: 0.7405 MB / 398.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3748, allocations: 4.062 kB / 398.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.3756, allocations: 362.6 kB / 398.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.3771, allocations: 224.3 kB / 398.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.3928, allocations: 9.49 MB / 408.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.3935, allocations: 1.03 MB / 409.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.3941, allocations: 131.5 kB / 409.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.3947, allocations: 403.3 kB / 410 MB, free: 4.129 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3947, allocations: 0 / 410 MB, free: 4.129 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.4324, allocations: 20.06 MB / 430 MB, free: 384 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.4327, allocations: 279.4 kB / 430.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.201, allocations: 0 / 430.3 MB, free: 15.99 MB / 350.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