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.0008268/0.0008268, allocations: 102.4 kB / 16.02 MB, free: 76 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.001494/0.001494, allocations: 183.9 kB / 16.92 MB, free: 6.691 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.17/1.17, allocations: 205.4 MB / 223.1 MB, free: 5.785 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.2901/0.2901, allocations: 43.58 MB / 315 MB, free: 8.898 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.0005053/0.0005053, allocations: 12.47 kB / 384.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1005, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005088/0.1056, allocations: 4.785 MB / 448.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1083, allocations: 1.605 MB / 449.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1085, allocations: 20 kB / 450 MB, free: 6.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.109, allocations: 251 kB / 450.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.1096, allocations: 254.4 kB / 450.5 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1108, allocations: 0.6232 MB / 451.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.1115, allocations: 0.7697 MB / 451.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.1137, allocations: 1.409 MB / 453.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.114, allocations: 286.8 kB / 453.5 MB, free: 2.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.1144, allocations: 410.1 kB / 453.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.1145, allocations: 40 kB / 454 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1148, allocations: 151.9 kB / 454.1 MB, free: 2.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.1149, allocations: 135.4 kB / 454.3 MB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1152, allocations: 403.6 kB / 454.6 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.1161, allocations: 1.094 MB / 455.7 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1161, allocations: 3.938 kB / 455.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1161, allocations: 0 / 455.7 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.1161, allocations: 0 / 455.7 MB, free: 0.5273 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.1722/0.2883, allocations: 1.196 MB / 456.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2883, allocations: 8.906 kB / 457 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.2885, allocations: 150.7 kB / 457.1 MB, free: 45.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.2898, allocations: 232 kB / 457.3 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.29, allocations: 255.6 kB / 457.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2902, allocations: 76.38 kB / 457.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2903, allocations: 106.6 kB / 457.8 MB, free: 45.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2916, allocations: 0.9335 MB / 458.7 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.2916, allocations: 6.969 kB / 458.7 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.2917, allocations: 40.69 kB / 458.7 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2917, allocations: 25.64 kB / 458.8 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2927, allocations: 0.7223 MB / 459.5 MB, free: 45.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.2964, allocations: 3.948 MB / 463.4 MB, free: 43.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2981, allocations: 3.384 MB / 466.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2985, allocations: 292.7 kB / 467.1 MB, free: 40.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.2985, allocations: 94.08 kB / 467.2 MB, free: 39.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2986, allocations: 45.11 kB / 467.2 MB, free: 39.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.2986, allocations: 0 / 467.2 MB, free: 39.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002271/0.3008, allocations: 1.354 MB / 468.6 MB, free: 39.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3009, allocations: 134.5 kB / 468.7 MB, free: 39.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3012, allocations: 321 kB / 469 MB, free: 39.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3012, allocations: 36.52 kB / 469.1 MB, free: 39.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3013, allocations: 397.7 kB / 469.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.3015, allocations: 228.7 kB / 469.7 MB, free: 38.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.3015, allocations: 67.97 kB / 469.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.3016, allocations: 352.8 kB / 470.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.3019, allocations: 199.2 kB / 470.3 MB, free: 38.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.3022, allocations: 413.2 kB / 470.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.3028, allocations: 0.6325 MB / 471.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3029, allocations: 0 / 471.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001135/0.304, allocations: 0.8839 MB / 472.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.304, allocations: 6.312 kB / 472.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.304, allocations: 5.812 kB / 472.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.3046, allocations: 225.1 kB / 472.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.305, allocations: 147.1 kB / 472.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.3085, allocations: 6.232 MB / 478.8 MB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.3089, allocations: 97.19 kB / 478.9 MB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.309, allocations: 33.44 kB / 478.9 MB, free: 30.95 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.3092, allocations: 222.9 kB / 479.2 MB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3093, allocations: 45.56 kB / 479.2 MB, free: 30.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.3103, allocations: 0.6872 MB / 479.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3103, allocations: 9.938 kB / 479.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3103, allocations: 2.75 kB / 479.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3104, allocations: 10.66 kB / 479.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3121, allocations: 1.575 MB / 481.5 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3122, allocations: 0.5625 kB / 481.5 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3124, allocations: 66.39 kB / 481.6 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/0.3128, allocations: 215.1 kB / 481.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3128, allocations: 14.38 kB / 481.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.3166, allocations: 6.233 MB / 488 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3166, allocations: 11.09 kB / 488 MB, free: 23.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3179, allocations: 1.176 MB / 489.2 MB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.318, allocations: 136.8 kB / 489.3 MB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.318, allocations: 14.47 kB / 489.3 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.3183, allocations: 18.5 kB / 489.4 MB, free: 22.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.3184, allocations: 56.92 kB / 489.4 MB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3184, allocations: 17.09 kB / 489.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3186, allocations: 217.3 kB / 489.6 MB, free: 22.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3186, allocations: 0 / 489.6 MB, free: 22.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008539/0.3195, allocations: 272.4 kB / 489.9 MB, free: 22.46 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/0.321, allocations: 1.772 MB / 491.7 MB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3223, allocations: 1.088 MB / 492.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3223, allocations: 0 / 492.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.323, allocations: 0.7777 MB / 493.6 MB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.3236, allocations: 43.75 kB / 493.6 MB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.3295, allocations: 5.594 MB / 499.2 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3299, allocations: 0.9135 MB / 0.4884 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.3302, allocations: 68.62 kB / 0.4884 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3305, allocations: 231.2 kB / 0.4887 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3305, allocations: 0 / 0.4887 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.5387, allocations: 10.83 MB / 0.4992 GB, free: 14.13 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.5389, allocations: 249.6 kB / 0.4995 GB, free: 13.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.824, allocations: 0 / 0.4995 GB, free: 13.87 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/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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches