Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 196.6 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007567/0.0007567, allocations: 104.3 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002108/0.0002112, allocations: 8 kB / 356.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1834, allocations: 51.3 MB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004635/0.1881, allocations: 5.618 MB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1912, allocations: 2.222 MB / 415.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008181/0.1921, allocations: 19.94 kB / 415.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.1929, allocations: 316.8 kB / 416.2 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.1941, allocations: 437.4 kB / 416.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.195, allocations: 279.5 kB / 416.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1965, allocations: 1.378 MB / 418.3 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.1971, allocations: 455.1 kB / 418.7 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.1977, allocations: 450.2 kB / 419.2 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.1982, allocations: 0.5368 MB / 419.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.1983, allocations: 68 kB / 419.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1985, allocations: 87.98 kB / 419.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1986, allocations: 215 kB / 420.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.199, allocations: 0.5537 MB / 420.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.1999, allocations: 1.539 MB / 422.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1999, allocations: 0 / 422.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1999, allocations: 0 / 422.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1999, allocations: 0 / 422.2 MB, free: 13.48 MB / 298.7 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.002228/0.2021, allocations: 1.379 MB / 423.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2022, allocations: 12.03 kB / 423.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.2026, allocations: 159.3 kB / 423.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.2035, allocations: 0.7084 MB / 424.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.2036, allocations: 74.56 kB / 424.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2037, allocations: 99.92 kB / 424.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2054, allocations: 1.04 MB / 425.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.2055, allocations: 3.906 kB / 425.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/0.2055, allocations: 36 kB / 425.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2056, allocations: 24 kB / 425.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2074, allocations: 0.942 MB / 426.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.2116, allocations: 3.687 MB / 430.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.2143, allocations: 1.098 MB / 431.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.215, allocations: 389.5 kB / 431.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.215, allocations: 11.98 kB / 431.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2151, allocations: 46.5 kB / 431.9 MB, free: 3.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 3.176e-06/0.2151, allocations: 3.984 kB / 431.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004254/0.2193, allocations: 1.981 MB / 433.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.2194, allocations: 85.11 kB / 433.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.2204, allocations: 0.9745 MB / 434.9 MB, free: 372 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2204, allocations: 37.7 kB / 434.9 MB, free: 328 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2207, allocations: 0.5376 MB / 435.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.2209, allocations: 228.7 kB / 435.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.2209, allocations: 20 kB / 435.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2211, allocations: 341.9 kB / 436.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.222, allocations: 377.8 kB / 436.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.223, allocations: 0.5577 MB / 437 MB, free: 14.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.2248, allocations: 0.9033 MB / 437.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2248, allocations: 0 / 437.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002239/0.2271, allocations: 1.087 MB / 439 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2271, allocations: 8.031 kB / 439 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2271, allocations: 8 kB / 439 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2271, allocations: 8 kB / 439 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.2284, allocations: 323.6 kB / 439.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.2284, allocations: 15.92 kB / 439.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.2291, allocations: 91.92 kB / 439.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.2292, allocations: 32 kB / 439.5 MB, free: 11.64 MB / 314.7 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.0003973/0.2296, allocations: 285.6 kB / 439.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.2298, allocations: 102.7 kB / 439.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009788/0.2308, allocations: 434.1 kB / 440.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2308, allocations: 4 kB / 440.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2308, allocations: 4 kB / 440.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2308, allocations: 3.984 kB / 440.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.2345, allocations: 2.355 MB / 442.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.2345, allocations: 8.844 kB / 442.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.2354, allocations: 231.7 kB / 442.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.2354, allocations: 12 kB / 442.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.2355, allocations: 23.98 kB / 442.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.2355, allocations: 15.88 kB / 442.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.2355, allocations: 11.94 kB / 442.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.2371, allocations: 1.068 MB / 444 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.2373, allocations: 195.8 kB / 444.2 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.2374, allocations: 16 kB / 444.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.2381, allocations: 63.89 kB / 444.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.2382, allocations: 67.8 kB / 444.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.2382, allocations: 28 kB / 444.4 MB, free: 6.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008428/0.2391, allocations: 0.6788 MB / 445 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2391, allocations: 4 kB / 445 MB, free: 5.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007508/0.2399, allocations: 208 kB / 445.2 MB, free: 5.566 MB / 314.7 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.0007644/0.2406, allocations: 390.3 kB / 445.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2424, allocations: 0.8079 MB / 446.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2425, allocations: 0 / 446.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008073/0.2433, allocations: 397.8 kB / 446.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.2451, allocations: 267.7 kB / 447.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.2483, allocations: 2.327 MB / 449.4 MB, free: 1.387 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.2488, allocations: 1.023 MB / 450.4 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.2492, allocations: 99.39 kB / 450.5 MB, free: 244 kB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2492, allocations: 0 / 450.5 MB, free: 244 kB / 314.7 MB Notification: Performance of Templates: time 0.01627/0.2654, allocations: 12.8 MB / 463.3 MB, free: 3.5 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches