Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001284, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.12 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3475, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002894/0.3504, allocations: 1.741 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000181/0.3506, allocations: 77.94 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.3507, allocations: 6.656 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.3507, allocations: 17.42 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.3508, allocations: 25.97 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.3509, allocations: 22.78 kB / 0.5324 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3511, allocations: 106 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3512, allocations: 50.2 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.3513, allocations: 44.84 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.3514, allocations: 55.83 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3514, allocations: 12.06 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.3515, allocations: 10.75 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.3515, allocations: 22.08 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.3516, allocations: 53.45 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.3517, allocations: 121.7 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3517, allocations: 0 / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3518, allocations: 1.438 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3518, allocations: 0 / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006601/0.3524, allocations: 424.8 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3525, allocations: 9.625 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3525, allocations: 46.3 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3526, allocations: 9.672 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3527, allocations: 175.6 kB / 0.5335 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3527, allocations: 8.438 kB / 0.5335 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3528, allocations: 15.38 kB / 0.5336 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3531, allocations: 125.6 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3531, allocations: 5.094 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3531, allocations: 5.188 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3532, allocations: 2.5 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.3535, allocations: 105.4 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.3544, allocations: 472.2 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3546, allocations: 84.97 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3549, allocations: 69.92 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3549, allocations: 5.359 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3549, allocations: 39.88 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.355, allocations: 0 / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008225/0.3558, allocations: 268.7 kB / 0.5347 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3558, allocations: 51.41 kB / 0.5347 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3559, allocations: 122.3 kB / 0.5348 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.356, allocations: 25.7 kB / 0.5349 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.356, allocations: 109.7 kB / 0.535 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3561, allocations: 25.16 kB / 0.535 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3561, allocations: 23.22 kB / 0.535 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3563, allocations: 312.2 kB / 0.5353 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3564, allocations: 40.58 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3566, allocations: 57.91 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.3569, allocations: 101.2 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.357, allocations: 0 / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004189/0.3574, allocations: 150.9 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3574, allocations: 6 kB / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3574, allocations: 0 / 0.5357 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3576, allocations: 28.28 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3577, allocations: 15.89 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.359, allocations: 1.401 MB / 0.5371 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3591, allocations: 19.42 kB / 0.5371 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3591, allocations: 6.469 kB / 0.5371 GB, free: 7.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.3592, allocations: 118.2 kB / 0.5372 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.3592, allocations: 19.41 kB / 0.5372 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3593, allocations: 13.39 kB / 0.5372 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3593, allocations: 5.078 kB / 0.5372 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3593, allocations: 1.125 kB / 0.5372 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3593, allocations: 0 / 0.5372 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.36, allocations: 423.2 kB / 0.5376 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.36, allocations: 1.156 kB / 0.5376 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.3601, allocations: 14.23 kB / 0.5377 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/0.3602, allocations: 23.03 kB / 0.5377 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3602, allocations: 5 kB / 0.5377 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3614, allocations: 1.409 MB / 0.5391 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3614, allocations: 0 / 0.5391 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.362, allocations: 251.3 kB / 0.5393 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.362, allocations: 82.78 kB / 0.5394 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3621, allocations: 1.312 kB / 0.5394 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3622, allocations: 14.8 kB / 0.5394 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.3622, allocations: 12.67 kB / 0.5394 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3623, allocations: 5.531 kB / 0.5394 GB, free: 5.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.3623, allocations: 96.27 kB / 0.5395 GB, free: 5.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3623, allocations: 0 / 0.5395 GB, free: 5.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.3626, allocations: 31.17 kB / 0.5395 GB, free: 5.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008147/0.3635, allocations: 0.76 MB / 0.5403 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005482/0.364, allocations: 209.9 kB / 0.5405 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.364, allocations: 0 / 0.5405 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.3643, allocations: 167.3 kB / 0.5406 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3646, allocations: 21.09 kB / 0.5407 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.367, allocations: 1.597 MB / 0.5422 GB, free: 2.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3674, allocations: 0.7012 MB / 0.5429 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.3674, allocations: 9.875 kB / 0.5429 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.3675, allocations: 25.38 kB / 0.5429 GB, free: 1.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.043e-06/0.3675, allocations: 0 / 0.5429 GB, free: 1.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.3957, allocations: 2.376 MB / 0.5453 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.4, allocations: 12.91 kB / 0.5453 GB, free: 0.5469 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches