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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.918/1.918, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001115/0.001114, allocations: 83.31 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4809, allocations: 88.96 MB / 463.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4813, allocations: 95.95 kB / 463.6 MB, free: 7.691 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.0942/0.5755, allocations: 22.1 MB / 485.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5756, allocations: 0 / 485.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.132e-05/0.5757, allocations: 23.98 kB / 485.7 MB, free: 1.48 MB / 362.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.004608/0.5803, allocations: 1.345 MB / 487.1 MB, free: 84 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5804, allocations: 12.03 kB / 487.1 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.5809, allocations: 135.1 kB / 487.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.5831, allocations: 0.6531 MB / 487.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.5835, allocations: 81.94 kB / 487.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.584, allocations: 95.91 kB / 488 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00602/0.59, allocations: 1.04 MB / 489.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.5902, allocations: 0 / 489.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.5905, allocations: 43.94 kB / 489.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.5905, allocations: 24 kB / 489.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006807/0.5974, allocations: 0.9772 MB / 490.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.608, allocations: 3.864 MB / 494 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.6126, allocations: 0.9518 MB / 494.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.6127, allocations: 16.55 kB / 494.9 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.6128, allocations: 43.06 kB / 495 MB, free: 7.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.947e-06/0.6128, allocations: 0 / 495 MB, free: 7.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.01029/0.6231, allocations: 2.216 MB / 497.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.6232, allocations: 85.55 kB / 497.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.6252, allocations: 0.8244 MB / 498.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.6255, allocations: 41.69 kB / 498.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.626, allocations: 0.5093 MB / 498.7 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.6263, allocations: 275.9 kB / 498.9 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.6265, allocations: 20 kB / 498.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6267, allocations: 346.8 kB / 499.3 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.6286, allocations: 421.8 kB / 499.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.6307, allocations: 0.568 MB / 0.4885 GB, free: 2.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.6327, allocations: 461.7 kB / 0.489 GB, free: 2.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6328, allocations: 0 / 0.489 GB, free: 2.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004876/0.6377, allocations: 1.084 MB / 0.49 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.6377, allocations: 4 kB / 0.49 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6378, allocations: 4 kB / 0.49 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.6378, allocations: 12 kB / 0.4901 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.6407, allocations: 331.6 kB / 0.4904 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.418e-05/0.6408, allocations: 11.94 kB / 0.4904 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.6427, allocations: 123.9 kB / 0.4905 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.6429, allocations: 39.98 kB / 0.4905 GB, free: 432 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (117): * Single equations (assignments): 117 * 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.000799/0.6437, allocations: 291 kB / 0.4908 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.644, allocations: 98.78 kB / 0.4909 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2726/0.9167, allocations: 480.6 kB / 0.4914 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.9167, allocations: 8.5 kB / 0.4914 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.9168, allocations: 1.031 kB / 0.4914 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.9168, allocations: 4.203 kB / 0.4914 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/0.9254, allocations: 2.93 MB / 0.4942 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.9255, allocations: 13.31 kB / 0.4943 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.9274, allocations: 265.9 kB / 0.4945 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.808e-05/0.9275, allocations: 15.34 kB / 0.4945 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.9276, allocations: 32.11 kB / 0.4946 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-05/0.9276, allocations: 18.59 kB / 0.4946 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/0.9277, allocations: 18.56 kB / 0.4946 GB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.9312, allocations: 1.743 MB / 0.4963 GB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.9318, allocations: 209.7 kB / 0.4965 GB, free: 98.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.932, allocations: 31.3 kB / 0.4965 GB, free: 98.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.9334, allocations: 81.14 kB / 0.4966 GB, free: 98.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.9336, allocations: 90.36 kB / 0.4967 GB, free: 98.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/0.9337, allocations: 32.22 kB / 0.4967 GB, free: 98.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.9353, allocations: 0.6371 MB / 0.4973 GB, free: 98.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.9353, allocations: 0.5938 kB / 0.4973 GB, free: 98.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001676/0.937, allocations: 235.8 kB / 0.4976 GB, free: 98.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.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 simulation (82): * Single equations (assignments): 82 * 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.001184/0.9382, allocations: 414.8 kB / 0.498 GB, free: 98.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003662/0.9419, allocations: 0.8944 MB / 0.4988 GB, free: 98.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/0.942, allocations: 2.438 kB / 0.4988 GB, free: 98.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.9438, allocations: 471 kB / 0.4993 GB, free: 98.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.9458, allocations: 190 kB / 0.4995 GB, free: 98.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.9516, allocations: 2.498 MB / 0.5019 GB, free: 96.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.9523, allocations: 1.052 MB / 0.5029 GB, free: 95.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.9529, allocations: 80.94 kB / 0.503 GB, free: 95.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.953, allocations: 3.719 kB / 0.503 GB, free: 95.96 MB / 378.7 MB Notification: Performance of Templates: time 0.02704/0.98, allocations: 13.05 MB / 0.5158 GB, free: 94.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour --alarm=480 -emit_protected > 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