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.001377/0.001378, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 77.25 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00322/0.1379, allocations: 1.793 MB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.138, allocations: 79.66 kB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.1381, allocations: 4 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.1382, allocations: 3.938 kB / 481.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.1383, allocations: 23.84 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.1384, allocations: 23.98 kB / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1385, allocations: 107.5 kB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1387, allocations: 47.95 kB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.1388, allocations: 39.84 kB / 481.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1389, allocations: 51.77 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1389, allocations: 8 kB / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.1389, allocations: 12 kB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.139, allocations: 19.92 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.139, allocations: 43.8 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1392, allocations: 111.9 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1392, allocations: 0 / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1392, allocations: 0 / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1392, allocations: 0 / 481.7 MB, free: 3.262 MB / 350.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.0006881/0.1399, allocations: 427.2 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.14, allocations: 8.875 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.14, allocations: 38.75 kB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1401, allocations: 12.84 kB / 482.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1402, allocations: 180.2 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1402, allocations: 4.375 kB / 482.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1403, allocations: 12.38 kB / 482.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.1406, allocations: 122 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1406, allocations: 7.938 kB / 482.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1407, allocations: 4 kB / 482.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1407, allocations: 0 / 482.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.141, allocations: 111.8 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.1419, allocations: 471.3 kB / 483.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1422, allocations: 86.52 kB / 483.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.1424, allocations: 68.92 kB / 483.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1424, allocations: 7.938 kB / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1425, allocations: 34.5 kB / 483.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1425, allocations: 3.938 kB / 483.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008468/0.1433, allocations: 263.4 kB / 483.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1434, allocations: 55.41 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1435, allocations: 113.8 kB / 483.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1435, allocations: 33.7 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.1436, allocations: 108.1 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1436, allocations: 19.73 kB / 483.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1437, allocations: 25.66 kB / 483.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1438, allocations: 318.8 kB / 484.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.144, allocations: 35.91 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1442, allocations: 62.53 kB / 484.3 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1445, allocations: 98.44 kB / 484.4 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1445, allocations: 4 kB / 484.4 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003907/0.1449, allocations: 146.2 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1449, allocations: 4 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1449, allocations: 320 / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.1451, allocations: 24.84 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1452, allocations: 24.05 kB / 484.6 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1464, allocations: 1.305 MB / 485.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.1465, allocations: 16.08 kB / 485.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1465, allocations: 0 / 485.9 MB, free: 14.64 MB / 366.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 9.498e-05/0.1466, allocations: 121.8 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1466, allocations: 3.906 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.1467, allocations: 20.3 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1467, allocations: 144 / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1467, allocations: 3.984 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1467, allocations: 0 / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1474, allocations: 432 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1474, allocations: 0 / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1476, allocations: 15.98 kB / 486.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.303e-05/0.1477, allocations: 20.84 kB / 486.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1477, allocations: 11.97 kB / 486.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008365/0.1485, allocations: 1.296 MB / 487.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1485, allocations: 7.969 kB / 487.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.149, allocations: 241.1 kB / 488.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.149, allocations: 84.95 kB / 488.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1491, allocations: 4 kB / 488.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1492, allocations: 19.97 kB / 488.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1492, allocations: 11.98 kB / 488.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1492, allocations: 4 kB / 488.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.1493, allocations: 87.28 kB / 488.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1493, allocations: 0 / 488.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1496, allocations: 27.94 kB / 488.3 MB, free: 12 MB / 366.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.0007182/0.1503, allocations: 0.7726 MB / 489.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.1508, allocations: 206.6 kB / 489.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1508, allocations: 0 / 489.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.1511, allocations: 158.7 kB / 489.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1514, allocations: 16.12 kB / 489.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1535, allocations: 1.627 MB / 491.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1538, allocations: 0.7004 MB / 491.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.1538, allocations: 3.984 kB / 491.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1539, allocations: 27.44 kB / 491.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1539, allocations: 0 / 491.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1677, allocations: 2.081 MB / 493.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.168, allocations: 231.1 kB / 494.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.018, allocations: 0 / 494.1 MB, free: 6.105 MB / 366.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