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.001128/0.001128, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001186, allocations: 204.6 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.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.72 kB / 307.1 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07982, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007763/0.08762, allocations: 6.527 MB / 364.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.09151, allocations: 2.388 MB / 366.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.09222, allocations: 16 kB / 366.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.09307, allocations: 361.7 kB / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.09452, allocations: 0.5237 MB / 367.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009685/0.0955, allocations: 455.3 kB / 367.8 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.0971, allocations: 1.561 MB / 369.4 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006545/0.09777, allocations: 0.5173 MB / 369.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.09849, allocations: 0.5801 MB / 370.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.09935, allocations: 0.6731 MB / 371.2 MB, free: 368 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.0996, allocations: 160 kB / 371.3 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.09993, allocations: 204 kB / 371.5 MB, free: 4 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.136/0.2359, allocations: 324.4 kB / 371.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.2367, allocations: 0.68 MB / 372.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.2386, allocations: 1.964 MB / 374.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2386, allocations: 1.844 kB / 374.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2386, allocations: 0 / 374.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.2386, allocations: 1.281 kB / 374.5 MB, free: 11.24 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.002749/0.2414, allocations: 1.532 MB / 376 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2414, allocations: 9.594 kB / 376 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.2416, allocations: 155.9 kB / 376.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.2421, allocations: 158.9 kB / 376.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.2431, allocations: 0.7261 MB / 377.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2432, allocations: 84.62 kB / 377.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2434, allocations: 95.97 kB / 377.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.245, allocations: 0.9832 MB / 378.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.2451, allocations: 4.375 kB / 378.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.2452, allocations: 39.73 kB / 378.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2452, allocations: 22.97 kB / 378.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.2468, allocations: 0.8217 MB / 379.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.2516, allocations: 3.673 MB / 382.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.2536, allocations: 0.6278 MB / 383.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.2541, allocations: 322.8 kB / 383.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.2542, allocations: 11.92 kB / 383.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2542, allocations: 43 kB / 383.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/0.2542, allocations: 0 / 383.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.003954/0.2582, allocations: 1.657 MB / 385.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2582, allocations: 87.42 kB / 385.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.2595, allocations: 1.044 MB / 386.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.2595, allocations: 38.53 kB / 386.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.2598, allocations: 0.5546 MB / 387.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2599, allocations: 227.4 kB / 387.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.2602, allocations: 164.2 kB / 387.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.2602, allocations: 337.4 kB / 387.9 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.2609, allocations: 312 kB / 388.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.2617, allocations: 499.6 kB / 388.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.2632, allocations: 0.7866 MB / 389.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2632, allocations: 1.594 kB / 389.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001904/0.2651, allocations: 0.9658 MB / 390.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2651, allocations: 9.531 kB / 390.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2651, allocations: 5.625 kB / 390.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.2652, allocations: 10.47 kB / 390.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.2663, allocations: 274.1 kB / 390.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.2664, allocations: 13.78 kB / 390.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.2672, allocations: 53.67 kB / 390.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.2673, allocations: 37.53 kB / 390.8 MB, free: 3.617 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.0003674/0.2676, allocations: 294.4 kB / 391.1 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.2678, allocations: 109.2 kB / 391.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.2685, allocations: 351.7 kB / 391.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2686, allocations: 6.844 kB / 391.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2686, allocations: 1.156 kB / 391.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2686, allocations: 3.969 kB / 391.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.272, allocations: 2.299 MB / 393.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.272, allocations: 10.72 kB / 393.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.2729, allocations: 207.2 kB / 394.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.2729, allocations: 9.625 kB / 394.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.2729, allocations: 23 kB / 394.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.273, allocations: 14.95 kB / 394.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.273, allocations: 11.16 kB / 394.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2744, allocations: 1.017 MB / 395.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.2746, allocations: 194.7 kB / 395.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2747, allocations: 22.33 kB / 395.4 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.2754, allocations: 50.33 kB / 395.4 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2755, allocations: 63.97 kB / 395.5 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.2756, allocations: 33.33 kB / 395.5 MB, free: 424 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008325/0.2764, allocations: 0.7173 MB / 396.2 MB, free: 16 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 0 / 396.2 MB, free: 16 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.00084/0.2772, allocations: 208.4 kB / 396.4 MB, free: 0 / 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.002654/0.2799, allocations: 1.857 MB / 398.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.2816, allocations: 0.7496 MB / 399 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2816, allocations: 0 / 399 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.2823, allocations: 365.3 kB / 399.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.2836, allocations: 223.9 kB / 399.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.2964, allocations: 9.092 MB / 408.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/0.2971, allocations: 1.03 MB / 409.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006208/0.2977, allocations: 131.5 kB / 409.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/0.2983, allocations: 410.7 kB / 410.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2983, allocations: 0 / 410.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.3367, allocations: 20.32 MB / 430.6 MB, free: 188 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.285, allocations: 15.05 kB / 430.6 MB, free: 172 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0024 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.csv","/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