Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_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.001321/0.001321, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001484, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.335, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003723/0.3388, allocations: 2.497 MB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3407, allocations: 1.09 MB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.3408, allocations: 6.125 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.342, allocations: 0.5038 MB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3423, allocations: 109.8 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.3432, allocations: 482.8 kB / 0.5352 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.3435, allocations: 221.8 kB / 0.5354 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.344, allocations: 260 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3442, allocations: 100.9 kB / 0.5357 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3443, allocations: 124.3 kB / 0.5358 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.3444, allocations: 22.03 kB / 0.5359 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.3447, allocations: 157.8 kB / 0.536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.3448, allocations: 47.72 kB / 0.5361 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3449, allocations: 117.2 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.3454, allocations: 398.7 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3454, allocations: 5.156 kB / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3455, allocations: 7.938 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3455, allocations: 0 / 0.5366 GB, free: 8.816 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001336/0.3468, allocations: 0.6225 MB / 0.5372 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3469, allocations: 9.688 kB / 0.5372 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.3469, allocations: 58.55 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.3473, allocations: 53.2 kB / 0.5373 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.3475, allocations: 198.8 kB / 0.5375 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3475, allocations: 15.62 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.3475, allocations: 28.75 kB / 0.5375 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.3482, allocations: 295.5 kB / 0.5378 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3482, allocations: 1.125 kB / 0.5378 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3482, allocations: 9.281 kB / 0.5378 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3482, allocations: 6.688 kB / 0.5378 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.3488, allocations: 227.6 kB / 0.538 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3504, allocations: 1.006 MB / 0.539 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.351, allocations: 383.8 kB / 0.5394 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.3513, allocations: 149 kB / 0.5395 GB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.3515, allocations: 170.5 kB / 0.5397 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3516, allocations: 32.47 kB / 0.5397 GB, free: 6.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.3516, allocations: 0 / 0.5397 GB, free: 6.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001263/0.3529, allocations: 0.5005 MB / 0.5402 GB, free: 5.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3529, allocations: 80.3 kB / 0.5403 GB, free: 5.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.353, allocations: 140.4 kB / 0.5404 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3531, allocations: 30.89 kB / 0.5404 GB, free: 5.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.3532, allocations: 146.6 kB / 0.5406 GB, free: 5.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.3532, allocations: 67.05 kB / 0.5407 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.3533, allocations: 38.77 kB / 0.5407 GB, free: 5.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3535, allocations: 321.9 kB / 0.541 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3537, allocations: 73.12 kB / 0.5411 GB, free: 4.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.354, allocations: 125.7 kB / 0.5412 GB, free: 4.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.3545, allocations: 202.2 kB / 0.5414 GB, free: 4.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3545, allocations: 0.9688 kB / 0.5414 GB, free: 4.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006714/0.3552, allocations: 281.8 kB / 0.5416 GB, free: 4.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3552, allocations: 5.734 kB / 0.5417 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3552, allocations: 5.406 kB / 0.5417 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.3554, allocations: 52.69 kB / 0.5417 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3556, allocations: 47.31 kB / 0.5418 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.3579, allocations: 2.83 MB / 0.5445 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.3581, allocations: 38.52 kB / 0.5446 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3581, allocations: 18.72 kB / 0.5446 GB, free: 1.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.3583, allocations: 140.8 kB / 0.5447 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.3583, allocations: 9.484 kB / 0.5447 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.359, allocations: 268.5 kB / 0.545 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.359, allocations: 2.219 kB / 0.545 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.359, allocations: 1.125 kB / 0.545 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.359, allocations: 5.125 kB / 0.545 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3602, allocations: 0.653 MB / 0.5456 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3602, allocations: 1.469 kB / 0.5456 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3604, allocations: 41.52 kB / 0.5457 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.3605, allocations: 51.62 kB / 0.5457 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3606, allocations: 5.781 kB / 0.5457 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.3627, allocations: 2.843 MB / 0.5485 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3627, allocations: 1.219 kB / 0.5485 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.3636, allocations: 0.5157 MB / 0.549 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.3637, allocations: 89.77 kB / 0.5491 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3637, allocations: 6.219 kB / 0.5491 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.3639, allocations: 19.42 kB / 0.5491 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.364, allocations: 25.19 kB / 0.5491 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.364, allocations: 8.469 kB / 0.5491 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.958e-05/0.3641, allocations: 103.3 kB / 0.5492 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 0 / 0.5492 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.3646, allocations: 76.34 kB / 0.5493 GB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.00134/0.3659, allocations: 1.079 MB / 0.5504 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.3667, allocations: 428.9 kB / 0.5508 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3667, allocations: 0 / 0.5508 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.3672, allocations: 330.3 kB / 0.5511 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3676, allocations: 12.44 kB / 0.5511 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.371, allocations: 2.36 MB / 0.5534 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3714, allocations: 0.7438 MB / 0.5541 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.3715, allocations: 13.42 kB / 0.5541 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.3716, allocations: 55.42 kB / 0.5542 GB, free: 8.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3716, allocations: 3.938 kB / 0.5542 GB, free: 8.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.4053, allocations: 4.383 MB / 0.5585 GB, free: 3.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.59, allocations: 18.03 kB / 0.5585 GB, free: 3.926 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches