Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 92.53 kB / 16.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 184.9 kB / 17.2 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002206/0.0002206, allocations: 8 kB / 300.7 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09416, allocations: 50.42 MB / 351.1 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005746/0.09995, allocations: 5.186 MB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1036, allocations: 2.121 MB / 358.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.1043, allocations: 19.94 kB / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.1049, allocations: 290.6 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009816/0.1059, allocations: 0.4907 MB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.1067, allocations: 274.7 kB / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1083, allocations: 0.9477 MB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.109, allocations: 378.1 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.1097, allocations: 454.4 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/0.1103, allocations: 0.5329 MB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1104, allocations: 60 kB / 361.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.1107, allocations: 80 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1109, allocations: 215.1 kB / 362.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.1112, allocations: 253.1 kB / 362.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1128, allocations: 1.511 MB / 363.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1128, allocations: 3.938 kB / 363.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1128, allocations: 0 / 363.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.1128, allocations: 0 / 363.9 MB, free: 6.965 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003091/0.1159, allocations: 1.391 MB / 365.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.116, allocations: 8.031 kB / 365.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1162, allocations: 126.5 kB / 365.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1175, allocations: 0.6842 MB / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.1176, allocations: 77.98 kB / 366.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.1178, allocations: 99.94 kB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.1198, allocations: 1.029 MB / 367.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1198, allocations: 4 kB / 367.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.1199, allocations: 40 kB / 367.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.1199, allocations: 20 kB / 367.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.1221, allocations: 0.9498 MB / 368.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.172/0.2941, allocations: 3.669 MB / 372 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.2975, allocations: 1.095 MB / 373.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.2976, allocations: 15.39 kB / 373.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2976, allocations: 41.78 kB / 373.2 MB, free: 22.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.585e-06/0.2976, allocations: 0 / 373.2 MB, free: 22.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005113/0.3027, allocations: 1.97 MB / 375.1 MB, free: 22.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3028, allocations: 83.98 kB / 375.2 MB, free: 22.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.304, allocations: 0.9737 MB / 376.2 MB, free: 21.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3041, allocations: 36.67 kB / 376.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.3044, allocations: 0.5265 MB / 376.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3045, allocations: 227.5 kB / 377 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3046, allocations: 18.84 kB / 377 MB, free: 21.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.3047, allocations: 340.3 kB / 377.3 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.3056, allocations: 380.8 kB / 377.7 MB, free: 20.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.3066, allocations: 0.5571 MB / 378.2 MB, free: 20.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.3076, allocations: 416.2 kB / 378.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3076, allocations: 2.156 kB / 378.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002376/0.31, allocations: 1.092 MB / 379.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.31, allocations: 6.938 kB / 379.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.31, allocations: 5.734 kB / 379.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3101, allocations: 10.44 kB / 379.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3114, allocations: 325.5 kB / 380.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.3114, allocations: 15.16 kB / 380.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.3122, allocations: 88.48 kB / 380.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.3123, allocations: 41.05 kB / 380.2 MB, free: 19.83 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_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.0003926/0.3127, allocations: 284.4 kB / 380.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.3129, allocations: 103.3 kB / 380.6 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009975/0.3139, allocations: 413.9 kB / 381 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3139, allocations: 10.8 kB / 381 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3139, allocations: 1.281 kB / 381 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3139, allocations: 5.969 kB / 381 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.3177, allocations: 2.345 MB / 383.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.3177, allocations: 10.55 kB / 383.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/0.3186, allocations: 238.4 kB / 383.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.3187, allocations: 14.05 kB / 383.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.3187, allocations: 22.47 kB / 383.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.3187, allocations: 11.17 kB / 383.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.3188, allocations: 16.28 kB / 383.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.3204, allocations: 1.394 MB / 385.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.3207, allocations: 189.4 kB / 385.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3208, allocations: 22.17 kB / 385.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.3215, allocations: 58.98 kB / 385.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3216, allocations: 69.84 kB / 385.4 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.3216, allocations: 28.98 kB / 385.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008566/0.3225, allocations: 0.6803 MB / 386.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3225, allocations: 0 / 386.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009054/0.3234, allocations: 208 kB / 386.3 MB, free: 16.29 MB / 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 (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.0007954/0.3242, allocations: 393.5 kB / 386.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3262, allocations: 0.802 MB / 387.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3263, allocations: 1.125 kB / 387.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.3271, allocations: 394.7 kB / 387.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.328, allocations: 178.8 kB / 388.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3308, allocations: 2.261 MB / 390.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.3313, allocations: 1.041 MB / 391.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005557/0.3319, allocations: 124.2 kB / 391.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3321, allocations: 74.16 kB / 391.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3321, allocations: 0 / 391.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Templates: time 0.01425/0.3463, allocations: 9.522 MB / 401.1 MB, free: 6.008 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches