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: 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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001032, allocations: 121 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 204.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 61.47 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.1006, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007948/0.1086, allocations: 6.53 MB / 365.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.1128, allocations: 2.377 MB / 367.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.1135, allocations: 23.94 kB / 367.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.1144, allocations: 369.7 kB / 368.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1155, allocations: 0.5199 MB / 368.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.1164, allocations: 462.6 kB / 369.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.1178, allocations: 1.569 MB / 370.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/0.1185, allocations: 0.5248 MB / 371.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.1192, allocations: 0.5879 MB / 371.9 MB, free: 328 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1692/0.2885, allocations: 0.6744 MB / 372.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.2889, allocations: 160.2 kB / 372.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.2894, allocations: 192.9 kB / 372.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.2896, allocations: 324.5 kB / 373.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.2902, allocations: 0.6887 MB / 373.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.2922, allocations: 1.971 MB / 375.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2922, allocations: 0.5312 kB / 375.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2922, allocations: 1.594 kB / 375.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.2923, allocations: 0.7188 kB / 375.9 MB, free: 11.27 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.002942/0.2952, allocations: 1.542 MB / 377.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2953, allocations: 9.625 kB / 377.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.2958, allocations: 160.7 kB / 377.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.2973, allocations: 0.732 MB / 378.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.2973, allocations: 77.97 kB / 378.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.2975, allocations: 99.38 kB / 378.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2994, allocations: 0.9764 MB / 379.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.2995, allocations: 6.125 kB / 379.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.2996, allocations: 37.12 kB / 379.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.2996, allocations: 23.47 kB / 379.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.3012, allocations: 0.8179 MB / 380.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.3064, allocations: 3.649 MB / 384 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3082, allocations: 0.6209 MB / 384.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.3088, allocations: 326 kB / 384.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.3088, allocations: 15.25 kB / 384.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3089, allocations: 44.36 kB / 385 MB, free: 7.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.3089, allocations: 2.719 kB / 385 MB, free: 7.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.003998/0.3129, allocations: 1.659 MB / 386.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3129, allocations: 90.23 kB / 386.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.3145, allocations: 1.035 MB / 387.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.3146, allocations: 37.17 kB / 387.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.315, allocations: 0.5439 MB / 388.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.3151, allocations: 231.9 kB / 388.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.3154, allocations: 165.7 kB / 388.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.188e-05/0.3155, allocations: 339.3 kB / 389.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007084/0.3162, allocations: 307 kB / 389.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.317, allocations: 496.9 kB / 389.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3184, allocations: 0.7887 MB / 390.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3184, allocations: 2.188 kB / 390.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002107/0.3205, allocations: 0.9673 MB / 391.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3206, allocations: 7.594 kB / 391.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3206, allocations: 5.344 kB / 391.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.3206, allocations: 9.938 kB / 391.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.3217, allocations: 285 kB / 391.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.3218, allocations: 12.88 kB / 391.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/0.3227, allocations: 51.88 kB / 392 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.3227, allocations: 35.12 kB / 392 MB, free: 3.309 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.000468/0.3232, allocations: 300.8 kB / 392.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3234, allocations: 108.9 kB / 392.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.3241, allocations: 348.3 kB / 392.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3242, allocations: 6.844 kB / 392.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3242, allocations: 1.156 kB / 392.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3242, allocations: 7.984 kB / 392.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.3276, allocations: 2.28 MB / 395 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3276, allocations: 9.406 kB / 395 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.3284, allocations: 210 kB / 395.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.3284, allocations: 12.72 kB / 395.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.3285, allocations: 20.25 kB / 395.3 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.3285, allocations: 20.61 kB / 395.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.3285, allocations: 10.44 kB / 395.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3299, allocations: 1.023 MB / 396.3 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.3301, allocations: 194.1 kB / 396.5 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3303, allocations: 22.45 kB / 396.5 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.3309, allocations: 51.14 kB / 396.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.331, allocations: 64.75 kB / 396.7 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3311, allocations: 24.66 kB / 396.7 MB, free: 44 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009703/0.3321, allocations: 0.7229 MB / 397.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3321, allocations: 0 / 397.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008464/0.3329, allocations: 207.9 kB / 397.6 MB, free: 15.62 MB / 318.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.0008419/0.3338, allocations: 384.4 kB / 398 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.3353, allocations: 0.7357 MB / 398.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.3354, allocations: 2.594 kB / 398.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3361, allocations: 366.2 kB / 399.1 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.3373, allocations: 228.6 kB / 399.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.3405, allocations: 1.935 MB / 401.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3411, allocations: 1.025 MB / 402.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.3417, allocations: 128.8 kB / 402.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3419, allocations: 72.98 kB / 402.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3419, allocations: 1.781 kB / 402.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of Templates: time 0.01809/0.36, allocations: 10.93 MB / 413.4 MB, free: 2.191 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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.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