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.001142/0.001142, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.42 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08916, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002871/0.09206, allocations: 1.793 MB / 481.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.09224, allocations: 83.67 kB / 481.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.0923, allocations: 0 / 481.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.634e-05/0.0924, allocations: 11.92 kB / 481.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.09247, allocations: 23.83 kB / 481.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.014e-05/0.09257, allocations: 23.98 kB / 481.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.09269, allocations: 107.6 kB / 481.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.09283, allocations: 47.97 kB / 481.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.09291, allocations: 51.78 kB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.09297, allocations: 47.78 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.093, allocations: 12 kB / 481.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.09302, allocations: 8 kB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.09305, allocations: 35.89 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.0931, allocations: 47.8 kB / 481.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.09323, allocations: 111.9 kB / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09324, allocations: 0 / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09325, allocations: 0 / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09326, allocations: 0 / 482 MB, free: 3.109 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.0005409/0.0938, allocations: 419.1 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.09385, allocations: 12.03 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.09389, allocations: 42.73 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.09393, allocations: 12.84 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.09404, allocations: 184.1 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.09406, allocations: 4.375 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.09408, allocations: 12.38 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.09438, allocations: 122 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.0944, allocations: 3.938 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.09442, allocations: 4 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.09443, allocations: 4 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.09475, allocations: 107 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.09543, allocations: 475.2 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.09566, allocations: 82.53 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.09587, allocations: 68.88 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.09589, allocations: 7.969 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.09592, allocations: 38.5 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.09592, allocations: 0 / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007075/0.09664, allocations: 271.5 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.09667, allocations: 51.41 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.09676, allocations: 121.8 kB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.09678, allocations: 25.7 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.09685, allocations: 112.1 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.09687, allocations: 23.73 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.09692, allocations: 17.72 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.09701, allocations: 318.8 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.09715, allocations: 40.02 kB / 484.5 MB, free: 336 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.0973, allocations: 66.47 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.09757, allocations: 98.38 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.09759, allocations: 4 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003665/0.09796, allocations: 150.3 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.09798, allocations: 4 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09799, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.09812, allocations: 24.84 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.09823, allocations: 20.05 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/0.09919, allocations: 1.399 MB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.09929, allocations: 12.02 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.09931, allocations: 4 kB / 486.3 MB, free: 14.38 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 7.451e-05/0.09939, allocations: 117.2 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.09942, allocations: 15.83 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.09944, allocations: 8.375 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.09945, allocations: 4.203 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.09946, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.09947, allocations: 7.984 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.1, allocations: 424.1 kB / 486.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1, allocations: 4 kB / 486.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.1001, allocations: 23.95 kB / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.117e-05/0.1002, allocations: 28.78 kB / 486.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1002, allocations: 0 / 486.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008927/0.1011, allocations: 1.398 MB / 488.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1011, allocations: 3.984 kB / 488.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.1015, allocations: 249.1 kB / 488.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1016, allocations: 81.02 kB / 488.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1016, allocations: 4 kB / 488.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1017, allocations: 11.98 kB / 488.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1017, allocations: 11.92 kB / 488.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1018, allocations: 8 kB / 488.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.1018, allocations: 99.2 kB / 488.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1018, allocations: 0 / 488.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1021, allocations: 23.94 kB / 488.8 MB, free: 11.62 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.0006157/0.1027, allocations: 0.7648 MB / 489.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.1032, allocations: 214.9 kB / 489.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1032, allocations: 0 / 489.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.1034, allocations: 162.7 kB / 489.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1037, allocations: 18.27 kB / 489.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1056, allocations: 1.626 MB / 491.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1058, allocations: 0.7041 MB / 492.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.1059, allocations: 0 / 492.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.1059, allocations: 27.42 kB / 492.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1059, allocations: 0 / 492.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7126/0.8185, allocations: 2.124 MB / 494.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.8188, allocations: 230 kB / 494.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.744, allocations: 2.812 kB / 494.6 MB, free: 5.699 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