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.001588/0.001588, allocations: 175.2 kB / 16.72 MB, free: 5.051 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.371/1.371, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0007588/0.0007588, allocations: 98.16 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00533/0.2527, allocations: 5.522 MB / 380.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.2563, allocations: 2.03 MB / 382.6 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000751/0.2571, allocations: 19.59 kB / 382.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.2578, allocations: 300.6 kB / 383 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2588, allocations: 406.9 kB / 383.4 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.2596, allocations: 272.6 kB / 383.6 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.261, allocations: 1.37 MB / 385 MB, free: 37.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.2617, allocations: 460.2 kB / 385.4 MB, free: 37.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.2623, allocations: 447.7 kB / 385.9 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.2629, allocations: 0.5363 MB / 386.4 MB, free: 37.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.263, allocations: 60.44 kB / 386.5 MB, free: 37.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.2633, allocations: 86.14 kB / 386.6 MB, free: 37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.2635, allocations: 219.5 kB / 386.8 MB, free: 36.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.2641, allocations: 0.55 MB / 387.3 MB, free: 36.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009458/0.265, allocations: 1.527 MB / 388.9 MB, free: 34.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.265, allocations: 4 kB / 388.9 MB, free: 34.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.265, allocations: 0 / 388.9 MB, free: 34.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.2651, allocations: 0 / 388.9 MB, free: 34.9 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.002446/0.2675, allocations: 1.375 MB / 390.2 MB, free: 33.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2676, allocations: 8.031 kB / 390.2 MB, free: 33.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.2678, allocations: 131.3 kB / 390.4 MB, free: 33.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.2688, allocations: 0.7007 MB / 391.1 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2689, allocations: 82.5 kB / 391.1 MB, free: 32.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.269, allocations: 99.94 kB / 391.2 MB, free: 32.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.2708, allocations: 1.029 MB / 392.3 MB, free: 31.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.2708, allocations: 7.906 kB / 392.3 MB, free: 31.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.2709, allocations: 40 kB / 392.3 MB, free: 31.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.2709, allocations: 24 kB / 392.3 MB, free: 31.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.2728, allocations: 0.9498 MB / 393.3 MB, free: 30.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.2774, allocations: 3.676 MB / 397 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.2801, allocations: 1.098 MB / 398.1 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.2809, allocations: 399.8 kB / 398.5 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.2809, allocations: 12 kB / 398.5 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.281, allocations: 47.09 kB / 398.5 MB, free: 24.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 3.306e-06/0.281, allocations: 0 / 398.5 MB, free: 24.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004627/0.2856, allocations: 1.972 MB / 400.5 MB, free: 22.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2857, allocations: 89.09 kB / 400.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2868, allocations: 0.9702 MB / 401.5 MB, free: 21.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2868, allocations: 45.64 kB / 401.6 MB, free: 21.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2871, allocations: 0.526 MB / 402.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2873, allocations: 232.7 kB / 402.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.2873, allocations: 16 kB / 402.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.2874, allocations: 337.9 kB / 402.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008705/0.2883, allocations: 377.8 kB / 403.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008836/0.2892, allocations: 0.5652 MB / 403.6 MB, free: 19.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.2908, allocations: 0.9045 MB / 404.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2908, allocations: 7.938 kB / 404.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002133/0.2929, allocations: 1.087 MB / 405.6 MB, free: 17.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.293, allocations: 8 kB / 405.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.293, allocations: 4 kB / 405.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.293, allocations: 12 kB / 405.6 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.2942, allocations: 323.6 kB / 406 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.2942, allocations: 11.94 kB / 406 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/0.295, allocations: 99.92 kB / 406.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.2951, allocations: 32 kB / 406.1 MB, free: 17.12 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.0004296/0.2955, allocations: 281.6 kB / 406.4 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.2957, allocations: 106.7 kB / 406.5 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000902/0.2966, allocations: 426.2 kB / 406.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2967, allocations: 4 kB / 406.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2967, allocations: 4 kB / 406.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.2967, allocations: 3.984 kB / 406.9 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.3, allocations: 2.34 MB / 409.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3001, allocations: 11.98 kB / 409.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.3009, allocations: 232 kB / 409.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.3009, allocations: 12 kB / 409.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.3009, allocations: 20 kB / 409.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.3009, allocations: 23.86 kB / 409.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.301, allocations: 11.94 kB / 409.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3024, allocations: 1.06 MB / 410.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.3026, allocations: 183.9 kB / 410.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3027, allocations: 27.92 kB / 410.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.3033, allocations: 67.89 kB / 410.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3034, allocations: 59.81 kB / 410.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.3035, allocations: 27.98 kB / 411 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007865/0.3043, allocations: 0.6747 MB / 411.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3043, allocations: 0 / 411.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007425/0.305, allocations: 208 kB / 411.9 MB, free: 11.09 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.0007408/0.3058, allocations: 396.3 kB / 412.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3074, allocations: 0.8082 MB / 413 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3075, allocations: 8.188 kB / 413.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.3082, allocations: 389 kB / 413.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.3101, allocations: 259.1 kB / 413.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.313, allocations: 2.304 MB / 416 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3134, allocations: 1.019 MB / 417 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3138, allocations: 95.41 kB / 417.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3138, allocations: 0 / 417.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Templates: time 0.01763/0.3314, allocations: 12.75 MB / 429.9 MB, free: 8.93 MB / 314.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/jenkins/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