Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008321/0.0008315, allocations: 94.64 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003528/0.2119, allocations: 3.913 MB / 379.1 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.214, allocations: 1.644 MB / 380.8 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.2144, allocations: 13.66 kB / 380.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.2152, allocations: 387.9 kB / 381.1 MB, free: 40.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.2161, allocations: 378.2 kB / 381.5 MB, free: 40.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.2168, allocations: 201.4 kB / 381.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.2181, allocations: 0.9063 MB / 382.6 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.2185, allocations: 253.7 kB / 382.9 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.2189, allocations: 321.4 kB / 383.2 MB, free: 39.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.2193, allocations: 425.8 kB / 383.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.2194, allocations: 37.03 kB / 383.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2196, allocations: 60.94 kB / 383.7 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.2198, allocations: 172.5 kB / 383.9 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.2201, allocations: 388.9 kB / 384.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.2207, allocations: 0.9907 MB / 385.2 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2207, allocations: 0.9688 kB / 385.2 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2207, allocations: 0 / 385.2 MB, free: 38.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2208, allocations: 0 / 385.2 MB, free: 38.13 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001806/0.2226, allocations: 1.087 MB / 386.3 MB, free: 37.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2226, allocations: 9 kB / 386.3 MB, free: 37.29 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.2227, allocations: 102 kB / 386.4 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2229, allocations: 99.17 kB / 386.5 MB, free: 37.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.2235, allocations: 0.5485 MB / 387.1 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.2236, allocations: 61.95 kB / 387.1 MB, free: 36.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.2237, allocations: 60.34 kB / 387.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2248, allocations: 0.6635 MB / 387.9 MB, free: 35.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2248, allocations: 0 / 387.9 MB, free: 35.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.2249, allocations: 20 kB / 387.9 MB, free: 35.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2249, allocations: 16 kB / 387.9 MB, free: 35.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.226, allocations: 0.5868 MB / 388.5 MB, free: 35.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.2288, allocations: 2.575 MB / 391.1 MB, free: 32.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.2297, allocations: 485.8 kB / 391.5 MB, free: 32.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.2303, allocations: 310 kB / 391.8 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.2303, allocations: 4.438 kB / 391.8 MB, free: 31.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2303, allocations: 47 kB / 391.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.764e-06/0.2303, allocations: 0 / 391.9 MB, free: 31.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.004019/0.2344, allocations: 1.649 MB / 393.5 MB, free: 30.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.2344, allocations: 59.97 kB / 393.6 MB, free: 29.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.2352, allocations: 0.9457 MB / 394.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2353, allocations: 37.7 kB / 394.6 MB, free: 28.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2355, allocations: 404 kB / 395 MB, free: 28.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.2355, allocations: 201 kB / 395.2 MB, free: 28.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.2356, allocations: 16 kB / 395.2 MB, free: 28.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.2356, allocations: 326 kB / 395.5 MB, free: 28.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.2362, allocations: 261.9 kB / 395.8 MB, free: 27.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.2367, allocations: 371 kB / 396.1 MB, free: 27.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2378, allocations: 0.6064 MB / 396.7 MB, free: 26.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2378, allocations: 4 kB / 396.7 MB, free: 26.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001288/0.2391, allocations: 0.7657 MB / 397.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2391, allocations: 7.125 kB / 397.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2391, allocations: 4 kB / 397.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2392, allocations: 4 kB / 397.5 MB, free: 25.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.2399, allocations: 191.8 kB / 397.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2399, allocations: 8 kB / 397.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.2404, allocations: 51.95 kB / 397.8 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.2404, allocations: 27.94 kB / 397.8 MB, free: 25.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002634/0.2407, allocations: 261.7 kB / 398 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.2408, allocations: 83 kB / 398.1 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.242, allocations: 0.6709 MB / 398.8 MB, free: 24.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.242, allocations: 8 kB / 398.8 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2421, allocations: 0 / 398.8 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2421, allocations: 7.984 kB / 398.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.2443, allocations: 1.855 MB / 400.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2444, allocations: 4 kB / 400.7 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.2449, allocations: 140.2 kB / 400.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.2449, allocations: 12 kB / 400.8 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.2449, allocations: 15.94 kB / 400.8 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2449, allocations: 11.97 kB / 400.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2449, allocations: 7.984 kB / 400.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.246, allocations: 0.7849 MB / 401.6 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.2462, allocations: 204.1 kB / 401.8 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.2463, allocations: 16 kB / 401.8 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.2467, allocations: 43.97 kB / 401.9 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.2468, allocations: 52.25 kB / 401.9 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2469, allocations: 20 kB / 402 MB, free: 21.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005854/0.2474, allocations: 0.6826 MB / 402.6 MB, free: 20.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2475, allocations: 0 / 402.6 MB, free: 20.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004708/0.2479, allocations: 156 kB / 402.8 MB, free: 20.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.001824/0.2498, allocations: 1.583 MB / 404.4 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2509, allocations: 0.6084 MB / 405 MB, free: 18.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2509, allocations: 4 kB / 405 MB, free: 18.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.2514, allocations: 315.2 kB / 405.3 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.2523, allocations: 115.8 kB / 405.4 MB, free: 17.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/0.2585, allocations: 4.921 MB / 410.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2588, allocations: 0.9594 MB / 411.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.2592, allocations: 303.3 kB / 411.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2592, allocations: 4 kB / 411.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.192/3.451, allocations: 12.23 MB / 423.8 MB, free: 15.2 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches