Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 227.7 MB / 247.9 MB, free: 10.15 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 59.89 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2515, allocations: 50.55 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008431/0.2599, allocations: 6.556 MB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004348/0.2643, allocations: 2.373 MB / 419.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.2651, allocations: 19.94 kB / 419.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.266, allocations: 369.7 kB / 419.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.2675, allocations: 0.5394 MB / 420.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.2684, allocations: 446.8 kB / 420.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.2704, allocations: 1.573 MB / 422.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.271, allocations: 349.6 kB / 422.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.2719, allocations: 0.5957 MB / 423 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.2726, allocations: 0.6731 MB / 423.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.2728, allocations: 160 kB / 423.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.2732, allocations: 204 kB / 424 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.2734, allocations: 330.9 kB / 424.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006355/0.2741, allocations: 0.6766 MB / 425 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.2762, allocations: 1.989 MB / 427 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2762, allocations: 0 / 427 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.2762, allocations: 4 kB / 427 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.2762, allocations: 0 / 427 MB, free: 0.5117 MB / 334.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.003099/0.2793, allocations: 1.568 MB / 428.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2793, allocations: 15.97 kB / 428.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.2799, allocations: 164.1 kB / 428.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2812, allocations: 0.7431 MB / 429.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.2813, allocations: 74 kB / 429.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.2814, allocations: 99.94 kB / 429.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.2832, allocations: 0.9818 MB / 430.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.2833, allocations: 7.984 kB / 430.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.2834, allocations: 39.98 kB / 430.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.2834, allocations: 20 kB / 430.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.2851, allocations: 0.8172 MB / 431.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005599/0.2907, allocations: 3.652 MB / 435.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.2927, allocations: 0.5945 MB / 435.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.2933, allocations: 297.5 kB / 436.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.2934, allocations: 15.97 kB / 436.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.2934, allocations: 55.41 kB / 436.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.925e-06/0.2934, allocations: 0 / 436.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004477/0.2979, allocations: 1.683 MB / 437.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.298, allocations: 89.11 kB / 437.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.2994, allocations: 1.038 MB / 439 MB, free: 4.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.2995, allocations: 33.7 kB / 439 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.2999, allocations: 0.5661 MB / 439.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.3001, allocations: 238 kB / 439.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.3004, allocations: 166.5 kB / 440 MB, free: 3.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3006, allocations: 341.9 kB / 440.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.3013, allocations: 305.8 kB / 440.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.3022, allocations: 499.1 kB / 441.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.3038, allocations: 0.7835 MB / 441.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3038, allocations: 0 / 441.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002072/0.3059, allocations: 0.9764 MB / 442.8 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3059, allocations: 4 kB / 442.8 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3059, allocations: 8 kB / 442.8 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3059, allocations: 8 kB / 442.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.3072, allocations: 279.8 kB / 443.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.3072, allocations: 15.98 kB / 443.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.308, allocations: 51.89 kB / 443.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.308, allocations: 35.98 kB / 443.2 MB, free: 15.75 MB / 366.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.0004696/0.3085, allocations: 297.5 kB / 443.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.3087, allocations: 107.3 kB / 443.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/0.3095, allocations: 354 kB / 444 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3095, allocations: 4 kB / 444 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3095, allocations: 4 kB / 444 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.3096, allocations: 7.922 kB / 444 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/0.3135, allocations: 2.297 MB / 446.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.3135, allocations: 8 kB / 446.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008819/0.3144, allocations: 200.2 kB / 446.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.3144, allocations: 12 kB / 446.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.3145, allocations: 27.98 kB / 446.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.3145, allocations: 11.94 kB / 446.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.3145, allocations: 11.94 kB / 446.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.3163, allocations: 1.031 MB / 447.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.3166, allocations: 196.4 kB / 447.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3167, allocations: 23.98 kB / 447.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.3173, allocations: 55.95 kB / 447.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.3175, allocations: 63.75 kB / 447.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.3175, allocations: 28 kB / 447.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.3186, allocations: 0.7229 MB / 448.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3186, allocations: 3.938 kB / 448.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000877/0.3194, allocations: 212 kB / 448.9 MB, free: 9.809 MB / 366.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.001294/0.3207, allocations: 382.8 kB / 449.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3225, allocations: 0.69 MB / 449.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3225, allocations: 1.312 kB / 449.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.3233, allocations: 351.9 kB / 450.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3245, allocations: 219.5 kB / 450.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3281, allocations: 1.966 MB / 452.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.3288, allocations: 1.037 MB / 453.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005818/0.3294, allocations: 135.5 kB / 453.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.3296, allocations: 75.42 kB / 453.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3296, allocations: 0 / 453.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of Templates: time 0.0222/0.3518, allocations: 11.2 MB / 464.9 MB, free: 9.891 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches