Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.001469/0.001469, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001571/0.001571, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 47.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1985/0.3035, allocations: 6.324 MB / 382.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.3072, allocations: 2.133 MB / 384.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.3078, allocations: 19.53 kB / 384.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.3086, allocations: 349.7 kB / 384.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.3096, allocations: 491.5 kB / 385.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.3105, allocations: 433.5 kB / 385.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.3119, allocations: 1.552 MB / 387.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.3126, allocations: 0.5118 MB / 387.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006392/0.3132, allocations: 0.5744 MB / 388.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.314, allocations: 0.6619 MB / 388.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.3142, allocations: 160.6 kB / 389 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.3146, allocations: 196.1 kB / 389.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3148, allocations: 321.8 kB / 389.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.3154, allocations: 0.666 MB / 390.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.3174, allocations: 1.928 MB / 392.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3174, allocations: 3.938 kB / 392.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3174, allocations: 1.812 kB / 392.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.901e-05/0.3174, allocations: 0 / 392.1 MB, free: 5.625 MB / 318.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.003169/0.3206, allocations: 1.542 MB / 393.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3207, allocations: 9.844 kB / 393.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.3209, allocations: 128 kB / 393.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3222, allocations: 0.7166 MB / 394.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.3223, allocations: 72.94 kB / 394.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3224, allocations: 103.9 kB / 394.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.3246, allocations: 1.009 MB / 395.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.3246, allocations: 6.125 kB / 395.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.3247, allocations: 40.59 kB / 395.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.3247, allocations: 22.78 kB / 395.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.3268, allocations: 0.8864 MB / 396.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.332, allocations: 3.628 MB / 400.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.3347, allocations: 0.9001 MB / 401.2 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007246/0.3355, allocations: 370.8 kB / 401.5 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.3355, allocations: 10.86 kB / 401.5 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3356, allocations: 37.31 kB / 401.6 MB, free: 220 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/0.3356, allocations: 1.375 kB / 401.6 MB, free: 220 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005117/0.3407, allocations: 1.791 MB / 403.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.3408, allocations: 83.67 kB / 403.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.3422, allocations: 0.9794 MB / 404.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.3423, allocations: 35.95 kB / 404.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.3427, allocations: 0.519 MB / 405 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.3429, allocations: 240.7 kB / 405.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.3432, allocations: 158.8 kB / 405.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3434, allocations: 337.9 kB / 405.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/0.3443, allocations: 338.5 kB / 406 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.3454, allocations: 0.5257 MB / 406.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.3475, allocations: 0.8212 MB / 407.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3475, allocations: 5 kB / 407.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002486/0.35, allocations: 1.014 MB / 408.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.35, allocations: 12.12 kB / 408.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.35, allocations: 8.859 kB / 408.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.3501, allocations: 10.28 kB / 408.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.3513, allocations: 282.5 kB / 408.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.3513, allocations: 10.22 kB / 408.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.3523, allocations: 73.33 kB / 408.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.3523, allocations: 35.66 kB / 408.8 MB, free: 11.69 MB / 334.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 (108): * Single equations (assignments): 108 * 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.0005155/0.3529, allocations: 291.6 kB / 409.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.3531, allocations: 106.8 kB / 409.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3541, allocations: 381.4 kB / 409.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3541, allocations: 7.844 kB / 409.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3541, allocations: 0 / 409.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3541, allocations: 5.172 kB / 409.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.3584, allocations: 2.299 MB / 411.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3584, allocations: 5.906 kB / 411.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.3593, allocations: 213.3 kB / 412.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.3594, allocations: 10.06 kB / 412.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.3594, allocations: 23.19 kB / 412.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.3594, allocations: 14.45 kB / 412.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.3595, allocations: 14.38 kB / 412.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3614, allocations: 1.024 MB / 413.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.3618, allocations: 185.8 kB / 413.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3619, allocations: 23.27 kB / 413.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.3626, allocations: 49.55 kB / 413.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3627, allocations: 65.47 kB / 413.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.3628, allocations: 29.98 kB / 413.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009726/0.3638, allocations: 0.6761 MB / 414.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3638, allocations: 0 / 414.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3648, allocations: 211.9 kB / 414.4 MB, free: 7.922 MB / 334.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.0008968/0.3657, allocations: 374.1 kB / 414.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.3678, allocations: 0.7713 MB / 415.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3678, allocations: 0 / 415.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3689, allocations: 369.8 kB / 415.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.3704, allocations: 207.7 kB / 416.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.3743, allocations: 1.935 MB / 418 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.3751, allocations: 1.022 MB / 419.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.3755, allocations: 83.41 kB / 419.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3755, allocations: 0 / 419.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Templates: time 0.02193/0.3974, allocations: 12.91 MB / 432.1 MB, free: 6.465 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches