Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009838/0.0009839, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008537, allocations: 95.56 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 45.16 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.778e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5355, allocations: 93.49 MB / 0.5958 GB, free: 9.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5358, allocations: 87.06 kB / 0.5958 GB, free: 9.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06141/0.5972, allocations: 28.37 MB / 0.6235 GB, free: 2.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5972, allocations: 0 / 0.6235 GB, free: 2.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.5972, allocations: 12 kB / 0.6236 GB, free: 2.543 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002382/0.5996, allocations: 1.052 MB / 0.6246 GB, free: 1.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5997, allocations: 8.031 kB / 0.6246 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.6012, allocations: 252 kB / 0.6248 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.6015, allocations: 246.6 kB / 0.6251 GB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6016, allocations: 46 kB / 0.6251 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6017, allocations: 63.34 kB / 0.6252 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/0.6028, allocations: 0.6283 MB / 0.6258 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.6041, allocations: 0.7621 MB / 0.6265 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.6041, allocations: 7.984 kB / 0.6265 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.6042, allocations: 0 / 0.6265 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6042, allocations: 24 kB / 0.6266 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/0.609, allocations: 3.963 MB / 0.6304 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.6115, allocations: 3.328 MB / 0.6337 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.6119, allocations: 268.3 kB / 0.6339 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.612, allocations: 182.5 kB / 0.6341 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.6121, allocations: 46.39 kB / 0.6342 GB, free: 8.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/0.6121, allocations: 0 / 0.6342 GB, free: 8.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001994/0.6141, allocations: 0.7356 MB / 0.6349 GB, free: 7.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.6142, allocations: 144.4 kB / 0.635 GB, free: 7.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.6144, allocations: 242.7 kB / 0.6352 GB, free: 7.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.6145, allocations: 25.7 kB / 0.6353 GB, free: 7.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.6147, allocations: 404 kB / 0.6357 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.6149, allocations: 214.3 kB / 0.6359 GB, free: 6.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.6149, allocations: 0 / 0.6359 GB, free: 6.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.615, allocations: 356.9 kB / 0.6362 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6153, allocations: 170.8 kB / 0.6364 GB, free: 6.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.6157, allocations: 358.3 kB / 0.6367 GB, free: 5.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.6169, allocations: 410.4 kB / 0.6371 GB, free: 5.539 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6169, allocations: 3.938 kB / 0.6371 GB, free: 5.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002094/0.619, allocations: 0.9375 MB / 0.638 GB, free: 4.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.619, allocations: 8 kB / 0.638 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6191, allocations: 8 kB / 0.638 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.6197, allocations: 220.8 kB / 0.6382 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.6202, allocations: 139.1 kB / 0.6384 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.6251, allocations: 5.955 MB / 0.6442 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.6256, allocations: 67.11 kB / 0.6443 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.6257, allocations: 36 kB / 0.6443 GB, free: 14.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.6259, allocations: 116.8 kB / 0.6444 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001927/0.6278, allocations: 0.7423 MB / 0.6451 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6279, allocations: 43.48 kB / 0.6452 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.6299, allocations: 0.7888 MB / 0.6459 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.63, allocations: 8 kB / 0.6459 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.63, allocations: 4 kB / 0.6459 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.63, allocations: 7.984 kB / 0.646 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.633, allocations: 1.556 MB / 0.6475 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.633, allocations: 4 kB / 0.6475 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.6333, allocations: 68.38 kB / 0.6475 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005069/0.6338, allocations: 215.2 kB / 0.6477 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.6338, allocations: 4 kB / 0.6478 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/0.6388, allocations: 5.932 MB / 0.6535 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6388, allocations: 0 / 0.6535 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.6411, allocations: 1.32 MB / 0.6548 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.6413, allocations: 128.5 kB / 0.655 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.6414, allocations: 4.062 kB / 0.655 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.6417, allocations: 7.938 kB / 0.655 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.6418, allocations: 55.88 kB / 0.655 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.6418, allocations: 16 kB / 0.655 GB, free: 2.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.642, allocations: 178 kB / 0.6552 GB, free: 2.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.642, allocations: 0 / 0.6552 GB, free: 2.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001061/0.6431, allocations: 259 kB / 0.6555 GB, free: 2.078 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/0.6459, allocations: 2.091 MB / 0.6575 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.6474, allocations: 0.9778 MB / 0.6584 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6475, allocations: 0 / 0.6584 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.6483, allocations: 0.7174 MB / 0.6591 GB, free: 14.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.6487, allocations: 21.98 kB / 0.6592 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.6511, allocations: 1.047 MB / 0.6602 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.6516, allocations: 0.9229 MB / 0.6611 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.6519, allocations: 64.42 kB / 0.6612 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6522, allocations: 239.3 kB / 0.6614 GB, free: 11.79 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6522, allocations: 0 / 0.6614 GB, free: 11.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.6844, allocations: 10.05 MB / 0.6712 GB, free: 1.773 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.6846, allocations: 172.3 kB / 0.6714 GB, free: 1.574 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/2.771, allocations: 0 / 0.6714 GB, free: 1.574 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat