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.001341/0.001341, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.88 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2628, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008321/0.2711, allocations: 6.544 MB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.2754, allocations: 2.377 MB / 417.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.2761, allocations: 19.94 kB / 417.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.277, allocations: 361.7 kB / 418.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.2783, allocations: 0.5316 MB / 418.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2794, allocations: 450.6 kB / 419.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.2813, allocations: 1.565 MB / 420.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.282, allocations: 0.5132 MB / 421.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.283, allocations: 0.5878 MB / 421.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.284, allocations: 0.6731 MB / 422.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.2842, allocations: 160 kB / 422.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2846, allocations: 196 kB / 422.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.2849, allocations: 334.9 kB / 423.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007066/0.2856, allocations: 0.6805 MB / 423.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.2878, allocations: 1.988 MB / 425.8 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2878, allocations: 0 / 425.8 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2878, allocations: 0 / 425.8 MB, free: 484 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.2878, allocations: 3.984 kB / 425.8 MB, free: 480 kB / 334.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.003053/0.2909, allocations: 1.568 MB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.291, allocations: 8.031 kB / 427.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.2911, allocations: 148.3 kB / 427.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.2917, allocations: 168.1 kB / 427.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.293, allocations: 0.7506 MB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.2931, allocations: 74 kB / 428.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2933, allocations: 96 kB / 428.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.2951, allocations: 0.9779 MB / 429.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.2952, allocations: 7.984 kB / 429.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.2953, allocations: 40 kB / 429.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.2953, allocations: 24 kB / 429.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2971, allocations: 0.821 MB / 430.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.3029, allocations: 3.656 MB / 434.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.3051, allocations: 0.6231 MB / 434.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.3057, allocations: 337.5 kB / 435 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.3058, allocations: 8.375 kB / 435.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3058, allocations: 46.5 kB / 435.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.006e-06/0.3059, allocations: 0 / 435.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00461/0.3105, allocations: 1.684 MB / 436.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.3106, allocations: 85.09 kB / 436.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.312, allocations: 1.038 MB / 437.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.3121, allocations: 41.7 kB / 437.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.3126, allocations: 0.5545 MB / 438.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3128, allocations: 245.9 kB / 438.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.313, allocations: 170.5 kB / 438.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3132, allocations: 345.9 kB / 439.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.314, allocations: 305.8 kB / 439.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.315, allocations: 495.2 kB / 440 MB, free: 1.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.3166, allocations: 0.7796 MB / 440.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3166, allocations: 0 / 440.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002188/0.3188, allocations: 0.98 MB / 441.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3189, allocations: 8 kB / 441.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3189, allocations: 4 kB / 441.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.3189, allocations: 8.438 kB / 441.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3201, allocations: 275.6 kB / 442.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.3202, allocations: 12 kB / 442.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/0.321, allocations: 59.89 kB / 442.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.3211, allocations: 39.97 kB / 442.2 MB, free: 15.49 MB / 366.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.0004813/0.3216, allocations: 289.5 kB / 442.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.3218, allocations: 107.3 kB / 442.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008829/0.3227, allocations: 352.2 kB / 442.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3227, allocations: 8 kB / 442.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.3227, allocations: 3.984 kB / 442.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3228, allocations: 3.938 kB / 442.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.3269, allocations: 2.289 MB / 445.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.3269, allocations: 8.844 kB / 445.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/0.3279, allocations: 215.6 kB / 445.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.3279, allocations: 8 kB / 445.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.328, allocations: 20 kB / 445.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.328, allocations: 19.86 kB / 445.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.328, allocations: 8 kB / 445.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3298, allocations: 1.035 MB / 446.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.3301, allocations: 196.4 kB / 446.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3303, allocations: 23.98 kB / 446.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.3309, allocations: 51.95 kB / 446.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3311, allocations: 63.75 kB / 446.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.3311, allocations: 24 kB / 446.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.3322, allocations: 0.7267 MB / 447.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3322, allocations: 0 / 447.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.333, allocations: 215.9 kB / 447.8 MB, free: 9.559 MB / 366.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.00332/0.3364, allocations: 1.842 MB / 449.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.3382, allocations: 0.734 MB / 450.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.3382, allocations: 0 / 450.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.3391, allocations: 361.3 kB / 450.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3405, allocations: 226.8 kB / 451 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.3547, allocations: 8.468 MB / 459.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.3555, allocations: 1.037 MB / 460.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005905/0.3561, allocations: 127.5 kB / 460.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.3567, allocations: 399.3 kB / 461 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3567, allocations: 4 kB / 461 MB, free: 11.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08617/0.4429, allocations: 20.75 MB / 481.7 MB, free: 7.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.57, allocations: 11 kB / 481.8 MB, free: 7.438 MB / 398.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.1.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