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=120000,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=120000,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.001832/0.001831, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.002111, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.12 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1008, allocations: 50.55 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008353/0.1091, allocations: 6.527 MB / 364.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.1133, allocations: 2.381 MB / 366.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.1137, allocations: 19.94 kB / 366.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.1145, allocations: 361.7 kB / 366.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1155, allocations: 0.5277 MB / 367.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.1164, allocations: 451.2 kB / 367.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1179, allocations: 1.565 MB / 369.4 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.1186, allocations: 0.5095 MB / 369.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.1192, allocations: 0.5879 MB / 370.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/0.12, allocations: 0.6809 MB / 371.1 MB, free: 364 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.1202, allocations: 160 kB / 371.3 MB, free: 204 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1205, allocations: 199.9 kB / 371.5 MB, free: 4 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1546/0.2751, allocations: 325.9 kB / 371.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.2758, allocations: 0.6805 MB / 372.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.2777, allocations: 1.958 MB / 374.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2777, allocations: 0.7969 kB / 374.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2777, allocations: 0 / 374.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.2778, allocations: 1 kB / 374.4 MB, free: 11.22 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.002736/0.2805, allocations: 1.54 MB / 376 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2806, allocations: 10.7 kB / 376 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.2811, allocations: 160.1 kB / 376.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2821, allocations: 0.729 MB / 376.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.2823, allocations: 80.03 kB / 377 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2824, allocations: 98 kB / 377 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2841, allocations: 0.9792 MB / 378 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.2841, allocations: 4.344 kB / 378 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.2842, allocations: 41.16 kB / 378.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.2843, allocations: 22.78 kB / 378.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2859, allocations: 0.8192 MB / 378.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.2909, allocations: 3.68 MB / 382.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.2928, allocations: 0.6247 MB / 383.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.2934, allocations: 329.1 kB / 383.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.2935, allocations: 9.688 kB / 383.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2935, allocations: 38.16 kB / 383.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.695e-06/0.2935, allocations: 0 / 383.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004068/0.2976, allocations: 1.664 MB / 385.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.2976, allocations: 84.55 kB / 385.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.299, allocations: 1.039 MB / 386.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.299, allocations: 36.61 kB / 386.4 MB, free: 6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.2993, allocations: 0.5445 MB / 387 MB, free: 5.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2995, allocations: 238.3 kB / 387.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.2997, allocations: 165.6 kB / 387.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.2998, allocations: 340.8 kB / 387.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.3005, allocations: 309.4 kB / 388 MB, free: 4.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.3013, allocations: 0.4915 MB / 388.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3027, allocations: 0.7812 MB / 389.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3027, allocations: 2.25 kB / 389.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001883/0.3046, allocations: 0.9715 MB / 390.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3046, allocations: 8.188 kB / 390.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3047, allocations: 4.531 kB / 390.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.3047, allocations: 11.25 kB / 390.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3058, allocations: 274.7 kB / 390.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3059, allocations: 13.94 kB / 390.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.3067, allocations: 54.25 kB / 390.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.3067, allocations: 41.02 kB / 390.6 MB, free: 3.684 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.0003645/0.3071, allocations: 291.9 kB / 390.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3073, allocations: 104.7 kB / 391 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.308, allocations: 352.3 kB / 391.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3081, allocations: 6.594 kB / 391.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3081, allocations: 0.9688 kB / 391.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3081, allocations: 2.625 kB / 391.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.3114, allocations: 2.29 MB / 393.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3114, allocations: 6.875 kB / 393.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.3123, allocations: 209.8 kB / 393.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.3123, allocations: 9.625 kB / 393.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.3123, allocations: 24.36 kB / 393.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.3123, allocations: 14.56 kB / 393.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3123, allocations: 9.5 kB / 393.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3138, allocations: 1.026 MB / 395 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.314, allocations: 199.1 kB / 395.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.3141, allocations: 17.22 kB / 395.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.3148, allocations: 47.39 kB / 395.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3149, allocations: 67.41 kB / 395.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.3149, allocations: 29.39 kB / 395.3 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008758/0.3158, allocations: 0.7167 MB / 396 MB, free: 140 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3158, allocations: 1.625 kB / 396 MB, free: 140 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008717/0.3167, allocations: 212.2 kB / 396.2 MB, free: 116 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.001306/0.318, allocations: 394.5 kB / 396.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3198, allocations: 0.7607 MB / 397.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3198, allocations: 3.594 kB / 397.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.3205, allocations: 363.7 kB / 397.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3218, allocations: 225.2 kB / 398 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.3253, allocations: 1.958 MB / 399.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.3261, allocations: 1.029 MB / 400.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006407/0.3267, allocations: 132.9 kB / 401.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3269, allocations: 72.36 kB / 401.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3269, allocations: 0 / 401.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.02043/0.3474, allocations: 10.94 MB / 412.1 MB, free: 2.98 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.1.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