Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.38 kB / 307.1 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08398, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005784/0.0898, allocations: 4.655 MB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.09286, allocations: 1.983 MB / 364.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.09331, allocations: 15.94 kB / 364.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.09405, allocations: 418.2 kB / 364.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.09504, allocations: 473.4 kB / 365.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.09574, allocations: 315.4 kB / 365.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.0968, allocations: 1.044 MB / 366.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.09724, allocations: 298.8 kB / 366.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.0978, allocations: 418.6 kB / 367.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.09842, allocations: 0.51 MB / 367.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.09858, allocations: 96 kB / 367.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.09882, allocations: 139.9 kB / 367.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.09903, allocations: 231.3 kB / 368.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.09945, allocations: 469.5 kB / 368.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1005, allocations: 1.289 MB / 369.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1006, allocations: 0 / 369.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1006, allocations: 3.938 kB / 369.9 MB, free: 1.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.1006, allocations: 0 / 369.9 MB, free: 1.645 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002212/0.1028, allocations: 1.199 MB / 371.1 MB, free: 404 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1029, allocations: 12.03 kB / 371.1 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.103, allocations: 106.7 kB / 371.2 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.1035, allocations: 123.7 kB / 371.3 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1301/0.2336, allocations: 0.5669 MB / 371.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.2338, allocations: 49.2 kB / 371.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.2339, allocations: 59.19 kB / 372 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.235, allocations: 0.6326 MB / 372.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2351, allocations: 9.906 kB / 372.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.2351, allocations: 24.86 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2352, allocations: 17.94 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2362, allocations: 0.5247 MB / 373.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.2396, allocations: 2.545 MB / 375.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.2404, allocations: 472.4 kB / 376.2 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.241, allocations: 282.7 kB / 376.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.2411, allocations: 8.375 kB / 376.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2411, allocations: 48.12 kB / 376.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.2411, allocations: 1.375 kB / 376.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004044/0.2451, allocations: 1.443 MB / 378 MB, free: 17.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2452, allocations: 57.72 kB / 378 MB, free: 17.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2463, allocations: 0.9722 MB / 379 MB, free: 16.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2463, allocations: 36.14 kB / 379.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2465, allocations: 415.5 kB / 379.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2467, allocations: 211.4 kB / 379.7 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2469, allocations: 121.5 kB / 379.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2469, allocations: 332.8 kB / 380.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.2474, allocations: 224.8 kB / 380.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.248, allocations: 335.8 kB / 380.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.249, allocations: 0.5469 MB / 381.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.249, allocations: 1.312 kB / 381.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001344/0.2504, allocations: 0.7066 MB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2504, allocations: 5.125 kB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2504, allocations: 3.203 kB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2504, allocations: 5.531 kB / 381.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.2512, allocations: 170.3 kB / 382.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.2512, allocations: 9.906 kB / 382.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.2517, allocations: 42.45 kB / 382.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.2518, allocations: 23.5 kB / 382.2 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0002735/0.252, allocations: 277.8 kB / 382.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2522, allocations: 82.88 kB / 382.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2535, allocations: 0.612 MB / 383.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.2535, allocations: 6.125 kB / 383.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2535, allocations: 2.375 kB / 383.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.2535, allocations: 12.72 kB / 383.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.2564, allocations: 1.784 MB / 384.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2564, allocations: 2.312 kB / 384.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.2569, allocations: 123.8 kB / 385.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.257, allocations: 10.36 kB / 385.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.257, allocations: 18.23 kB / 385.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.257, allocations: 5.516 kB / 385.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.257, allocations: 8.797 kB / 385.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2581, allocations: 0.72 MB / 385.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.2583, allocations: 207.6 kB / 386 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.2584, allocations: 16.03 kB / 386 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.2589, allocations: 28.27 kB / 386.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.259, allocations: 54.17 kB / 386.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.259, allocations: 19.92 kB / 386.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008399/0.2599, allocations: 0.7061 MB / 386.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2599, allocations: 0 / 386.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005733/0.2605, allocations: 155.6 kB / 387 MB, free: 12.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.001959/0.2624, allocations: 1.525 MB / 388.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2639, allocations: 0.5916 MB / 389.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2639, allocations: 3.938 kB / 389.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.2645, allocations: 281.4 kB / 389.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.2654, allocations: 138.9 kB / 389.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008135/0.2735, allocations: 6.857 MB / 396.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2739, allocations: 0.9669 MB / 397.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.2743, allocations: 99.17 kB / 397.4 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.2746, allocations: 297.6 kB / 397.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2746, allocations: 0 / 397.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.3088, allocations: 15.66 MB / 413.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.882, allocations: 12.7 kB / 413.4 MB, free: 6.488 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0032 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches