Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008488/0.000849, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007355/0.0007356, allocations: 92.86 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 47.58 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006292/0.2851, allocations: 5.526 MB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.2892, allocations: 2.032 MB / 382.8 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.2901, allocations: 20.19 kB / 382.8 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007282/0.2908, allocations: 301 kB / 383.1 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.292, allocations: 415.9 kB / 383.5 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.2928, allocations: 261.6 kB / 383.7 MB, free: 38.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.2944, allocations: 1.373 MB / 385.1 MB, free: 37.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.295, allocations: 444.8 kB / 385.5 MB, free: 37.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.2956, allocations: 452 kB / 386 MB, free: 37.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.2961, allocations: 0.5355 MB / 386.5 MB, free: 37.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2963, allocations: 61.75 kB / 386.6 MB, free: 37.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.2965, allocations: 93.02 kB / 386.7 MB, free: 37.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2967, allocations: 212.2 kB / 386.9 MB, free: 36.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.2971, allocations: 0.5553 MB / 387.4 MB, free: 36.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.2979, allocations: 1.519 MB / 388.9 MB, free: 34.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2979, allocations: 0 / 388.9 MB, free: 34.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.298, allocations: 0 / 388.9 MB, free: 34.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.298, allocations: 0 / 388.9 MB, free: 34.89 MB / 298.7 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.002447/0.3004, allocations: 1.375 MB / 390.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3005, allocations: 15.97 kB / 390.3 MB, free: 33.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.3007, allocations: 148.2 kB / 390.5 MB, free: 33.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3008, allocations: 131.3 kB / 390.6 MB, free: 33.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3019, allocations: 0.7084 MB / 391.3 MB, free: 32.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.302, allocations: 82.25 kB / 391.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3021, allocations: 96 kB / 391.5 MB, free: 32.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3039, allocations: 1.033 MB / 392.5 MB, free: 31.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.304, allocations: 7.906 kB / 392.5 MB, free: 31.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.3041, allocations: 40 kB / 392.6 MB, free: 31.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.3041, allocations: 20 kB / 392.6 MB, free: 31.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3059, allocations: 0.9498 MB / 393.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/0.3105, allocations: 3.679 MB / 397.2 MB, free: 26.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.3134, allocations: 1.092 MB / 398.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.3141, allocations: 403.8 kB / 398.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.3142, allocations: 4 kB / 398.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3142, allocations: 43.09 kB / 398.8 MB, free: 24.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 4.288e-06/0.3142, allocations: 0 / 398.8 MB, free: 24.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004618/0.3188, allocations: 1.979 MB / 400.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.3189, allocations: 89.09 kB / 400.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3199, allocations: 0.9702 MB / 401.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.3199, allocations: 37.7 kB / 401.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.3202, allocations: 0.526 MB / 402.4 MB, free: 21.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3203, allocations: 228.7 kB / 402.6 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3204, allocations: 16 kB / 402.6 MB, free: 20.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.3204, allocations: 341.9 kB / 402.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.3212, allocations: 373.8 kB / 403.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008645/0.3221, allocations: 0.569 MB / 403.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.3237, allocations: 0.9123 MB / 404.8 MB, free: 18.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3238, allocations: 0 / 404.8 MB, free: 18.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002088/0.3259, allocations: 1.087 MB / 405.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3259, allocations: 4 kB / 405.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3259, allocations: 8 kB / 405.9 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.3259, allocations: 12.03 kB / 405.9 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.3271, allocations: 319.6 kB / 406.2 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3271, allocations: 15.94 kB / 406.2 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.3279, allocations: 99.92 kB / 406.3 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.328, allocations: 39.98 kB / 406.3 MB, free: 16.95 MB / 298.7 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_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004277/0.3284, allocations: 277.6 kB / 406.6 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3285, allocations: 102.7 kB / 406.7 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.3294, allocations: 422.2 kB / 407.1 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3294, allocations: 11.94 kB / 407.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3295, allocations: 0 / 407.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3295, allocations: 3.984 kB / 407.1 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.3327, allocations: 2.348 MB / 409.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3327, allocations: 8 kB / 409.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.3335, allocations: 240.4 kB / 409.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3335, allocations: 8 kB / 409.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.3336, allocations: 20 kB / 409.8 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.3336, allocations: 19.86 kB / 409.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.3336, allocations: 11.94 kB / 409.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.335, allocations: 1.064 MB / 410.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3352, allocations: 187.9 kB / 411 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3353, allocations: 19.98 kB / 411.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.3359, allocations: 67.89 kB / 411.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3361, allocations: 59.81 kB / 411.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.3361, allocations: 35.98 kB / 411.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006921/0.3368, allocations: 0.6747 MB / 411.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3368, allocations: 0 / 411.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007123/0.3375, allocations: 208 kB / 412.1 MB, free: 10.91 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002193/0.3397, allocations: 1.891 MB / 414 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3413, allocations: 0.8077 MB / 414.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3413, allocations: 0 / 414.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.342, allocations: 393.8 kB / 415.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.3438, allocations: 259 kB / 415.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.3531, allocations: 6.152 MB / 421.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3537, allocations: 1.015 MB / 422.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/0.3544, allocations: 407.2 kB / 423 MB, free: 15.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3544, allocations: 0 / 423 MB, free: 15.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.401/3.755, allocations: 15.46 MB / 438.5 MB, free: 48 kB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches