Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008401/0.0008402, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 174.6 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3757/0.3757, allocations: 43.55 MB / 314.6 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004943, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005021/0.1378, allocations: 4.478 MB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1409, allocations: 1.496 MB / 448.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1411, allocations: 16 kB / 448.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.1416, allocations: 175 kB / 449.1 MB, free: 6.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.1422, allocations: 250.3 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1434, allocations: 0.5377 MB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008589/0.1443, allocations: 0.7346 MB / 450.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.1466, allocations: 1.306 MB / 451.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.147, allocations: 278.9 kB / 452.2 MB, free: 3.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.1475, allocations: 378.5 kB / 452.5 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.1475, allocations: 40 kB / 452.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.1479, allocations: 151.8 kB / 452.7 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.148, allocations: 135.5 kB / 452.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1482, allocations: 173.3 kB / 453 MB, free: 2.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.149, allocations: 0.8804 MB / 453.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.149, allocations: 0 / 453.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.149, allocations: 0 / 453.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.149, allocations: 0 / 453.9 MB, free: 1.871 MB / 382.1 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.002861/0.1519, allocations: 1.205 MB / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.152, allocations: 8.031 kB / 455.1 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.1521, allocations: 152.2 kB / 455.3 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.1534, allocations: 234.8 kB / 455.5 MB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2601/0.4135, allocations: 251.9 kB / 455.7 MB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.4138, allocations: 75.06 kB / 455.8 MB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4141, allocations: 100.4 kB / 455.9 MB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.4157, allocations: 0.9272 MB / 456.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.4157, allocations: 2.656 kB / 456.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4158, allocations: 45.94 kB / 456.9 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4158, allocations: 28.66 kB / 456.9 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4168, allocations: 0.716 MB / 457.6 MB, free: 45.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.4209, allocations: 3.958 MB / 461.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.4228, allocations: 3.362 MB / 464.9 MB, free: 39.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.4231, allocations: 292.2 kB / 465.2 MB, free: 39.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.4232, allocations: 97.34 kB / 465.3 MB, free: 39.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.4233, allocations: 43.47 kB / 465.4 MB, free: 39.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.695e-06/0.4233, allocations: 0 / 465.4 MB, free: 39.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002181/0.4255, allocations: 1.338 MB / 466.7 MB, free: 39.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.4255, allocations: 137.6 kB / 466.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.4259, allocations: 322.6 kB / 467.1 MB, free: 38.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.4259, allocations: 36.7 kB / 467.2 MB, free: 38.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.4261, allocations: 395.3 kB / 467.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4263, allocations: 226.6 kB / 467.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.4263, allocations: 15.34 kB / 467.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.4264, allocations: 351.5 kB / 468.1 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4268, allocations: 200 kB / 468.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.4271, allocations: 400.5 kB / 468.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.4275, allocations: 272.1 kB / 469 MB, free: 37.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4275, allocations: 0 / 469 MB, free: 37.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001118/0.4286, allocations: 0.8777 MB / 469.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4286, allocations: 8.125 kB / 469.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4287, allocations: 5.562 kB / 469.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.4292, allocations: 223.7 kB / 470.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.4296, allocations: 138.3 kB / 470.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.4333, allocations: 6.233 MB / 476.5 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.4337, allocations: 84.56 kB / 476.6 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.4337, allocations: 36.34 kB / 476.6 MB, free: 31.42 MB / 382.1 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 () * Number of clocked 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.0002624/0.434, allocations: 227.1 kB / 476.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4341, allocations: 41.44 kB / 476.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4352, allocations: 0.6916 MB / 477.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4352, allocations: 6.156 kB / 477.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4352, allocations: 5.844 kB / 477.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4352, allocations: 10.06 kB / 477.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.4372, allocations: 1.564 MB / 479.1 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4372, allocations: 4 kB / 479.1 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.4374, allocations: 63.38 kB / 479.2 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.4379, allocations: 220.8 kB / 479.4 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.4379, allocations: 19 kB / 479.4 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.4415, allocations: 6.218 MB / 485.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4416, allocations: 6.969 kB / 485.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.4428, allocations: 1.169 MB / 486.8 MB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.4429, allocations: 131.2 kB / 487 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.4429, allocations: 11.44 kB / 487 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.4432, allocations: 17.91 kB / 487 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.4433, allocations: 61.12 kB / 487 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.4433, allocations: 20.16 kB / 487.1 MB, free: 23.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.4436, allocations: 207.3 kB / 487.3 MB, free: 23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4436, allocations: 3.156 kB / 487.3 MB, free: 23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009282/0.4445, allocations: 282.9 kB / 487.5 MB, free: 22.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (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.001526/0.446, allocations: 1.744 MB / 489.3 MB, free: 21.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4473, allocations: 1.076 MB / 490.4 MB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4473, allocations: 3.312 kB / 490.4 MB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.4479, allocations: 0.7849 MB / 491.2 MB, free: 20.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.4485, allocations: 41.56 kB / 491.2 MB, free: 20.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.4529, allocations: 3.263 MB / 494.5 MB, free: 18.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4533, allocations: 0.9113 MB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.4536, allocations: 70.52 kB / 495.4 MB, free: 17.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.4538, allocations: 232.8 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4538, allocations: 0 / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.4813, allocations: 10.68 MB / 0.4945 GB, free: 16.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.4815, allocations: 240.3 kB / 0.4947 GB, free: 16.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.583, allocations: 0 / 0.4947 GB, free: 16.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat