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.0008213/0.0008212, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002465, allocations: 4 kB / 307.8 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09269, allocations: 51.51 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006507/0.09924, allocations: 6.063 MB / 365.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.1033, allocations: 2.319 MB / 367.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.1041, allocations: 23.94 kB / 367.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008874/0.105, allocations: 322.5 kB / 368 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.1065, allocations: 469.2 kB / 368.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.1075, allocations: 399.6 kB / 368.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1091, allocations: 1.456 MB / 370.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.1097, allocations: 447.5 kB / 370.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.1103, allocations: 485.9 kB / 371.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.1109, allocations: 0.5794 MB / 371.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.111, allocations: 60 kB / 371.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1112, allocations: 91.98 kB / 371.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.1115, allocations: 226.9 kB / 372.2 MB, free: 320 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2398/0.3513, allocations: 0.589 MB / 372.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.3549, allocations: 1.843 MB / 374.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3549, allocations: 1.578 kB / 374.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.355, allocations: 0 / 374.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.828e-05/0.355, allocations: 5.938 kB / 374.6 MB, free: 10.46 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.004893/0.36, allocations: 1.351 MB / 375.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.36, allocations: 11.05 kB / 376 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3612, allocations: 167.6 kB / 376.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.3635, allocations: 0.7159 MB / 376.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.3638, allocations: 86.3 kB / 376.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/0.3642, allocations: 100.3 kB / 377 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.3677, allocations: 0.9961 MB / 378 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.456e-05/0.3678, allocations: 1.375 kB / 378 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.368, allocations: 41.28 kB / 378.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.368, allocations: 23.38 kB / 378.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.3714, allocations: 0.8501 MB / 378.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00947/0.3808, allocations: 3.7 MB / 382.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.3844, allocations: 0.6973 MB / 383.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3855, allocations: 347.6 kB / 383.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.3856, allocations: 11.98 kB / 383.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3856, allocations: 37.34 kB / 383.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.186e-06/0.3856, allocations: 0 / 383.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.007552/0.3932, allocations: 1.782 MB / 385.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3933, allocations: 86.86 kB / 385.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.3958, allocations: 1.035 MB / 386.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.3959, allocations: 40.61 kB / 386.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005436/0.3965, allocations: 0.5484 MB / 387.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.3967, allocations: 234.7 kB / 387.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3969, allocations: 78.88 kB / 387.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.397, allocations: 334.4 kB / 387.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/0.3978, allocations: 336.5 kB / 388.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/0.3987, allocations: 0.5084 MB / 388.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.4003, allocations: 0.8296 MB / 389.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4003, allocations: 1 kB / 389.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002144/0.4024, allocations: 1.01 MB / 390.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4025, allocations: 12.77 kB / 390.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4025, allocations: 9.266 kB / 390.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.4025, allocations: 11.97 kB / 390.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4037, allocations: 300 kB / 390.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.4038, allocations: 16.61 kB / 390.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.4046, allocations: 64.64 kB / 390.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.4047, allocations: 38.98 kB / 391 MB, free: 3.914 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.0004263/0.4052, allocations: 299.8 kB / 391.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.4053, allocations: 104.2 kB / 391.3 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.4061, allocations: 372.2 kB / 391.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4062, allocations: 6.656 kB / 391.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.4062, allocations: 3.906 kB / 391.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4062, allocations: 7.734 kB / 391.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.4098, allocations: 2.33 MB / 394.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4098, allocations: 6.875 kB / 394.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.4107, allocations: 246.8 kB / 394.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.4107, allocations: 11.23 kB / 394.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.4108, allocations: 23.67 kB / 394.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.4108, allocations: 13.16 kB / 394.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.4108, allocations: 10.34 kB / 394.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4124, allocations: 1.061 MB / 395.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.4126, allocations: 207.2 kB / 395.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.4128, allocations: 22.14 kB / 395.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.4135, allocations: 58.08 kB / 395.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4136, allocations: 66.88 kB / 395.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.4137, allocations: 25.56 kB / 395.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008755/0.4145, allocations: 0.7195 MB / 396.5 MB, free: 244 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4145, allocations: 4 kB / 396.5 MB, free: 240 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008183/0.4154, allocations: 212.8 kB / 396.7 MB, free: 216 kB / 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 (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.0008062/0.4162, allocations: 386.6 kB / 397.1 MB, free: 20 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.4178, allocations: 0.7635 MB / 397.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4179, allocations: 6.234 kB / 397.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.4186, allocations: 385.7 kB / 398.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.4207, allocations: 283.4 kB / 398.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.4241, allocations: 2.439 MB / 401 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.4248, allocations: 1.026 MB / 402 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006291/0.4254, allocations: 128.5 kB / 402.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.4257, allocations: 91.34 kB / 402.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4257, allocations: 0 / 402.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Templates: time 0.02472/0.4504, allocations: 12.24 MB / 414.4 MB, free: 0.6836 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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