Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.4 kB / 18.4 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 187.1 kB / 19.35 MB, free: 3.762 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.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001179/0.001179, allocations: 47.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07074/0.07193, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003675/0.07563, allocations: 2.727 MB / 378.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.07726, allocations: 1.184 MB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.07739, allocations: 8 kB / 379.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.07878, allocations: 0.6184 MB / 380.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1394/0.2182, allocations: 126.8 kB / 380.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2195, allocations: 0.6751 MB / 381.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.22, allocations: 297 kB / 381.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.2204, allocations: 278.5 kB / 381.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.2206, allocations: 121.8 kB / 381.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2208, allocations: 168.7 kB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2209, allocations: 25.22 kB / 382 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.2213, allocations: 179.7 kB / 382.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.2213, allocations: 62.11 kB / 382.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2215, allocations: 141.2 kB / 382.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.2222, allocations: 0.4961 MB / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2222, allocations: 3.969 kB / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2222, allocations: 0.6562 kB / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2222, allocations: 0 / 382.9 MB, free: 9.52 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00168/0.2239, allocations: 0.7271 MB / 383.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.224, allocations: 11.5 kB / 383.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.2248, allocations: 118.3 kB / 383.8 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.2252, allocations: 262.1 kB / 384 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2252, allocations: 28.06 kB / 384 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.2253, allocations: 35.53 kB / 384.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.2258, allocations: 335 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2258, allocations: 2.547 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.2259, allocations: 10.16 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.2259, allocations: 8.906 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2263, allocations: 243.4 kB / 384.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.2279, allocations: 1.451 MB / 386.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.2284, allocations: 0.6935 MB / 386.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2286, allocations: 106 kB / 386.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.2287, allocations: 90.86 kB / 387 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.2287, allocations: 40.53 kB / 387 MB, free: 6.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2287, allocations: 0 / 387 MB, free: 6.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.00114/0.2298, allocations: 492.3 kB / 387.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.2299, allocations: 59.91 kB / 387.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.23, allocations: 179.6 kB / 387.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.23, allocations: 30.55 kB / 387.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.2301, allocations: 179.3 kB / 388 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.2302, allocations: 87.69 kB / 388 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.392e-05/0.2302, allocations: 50.91 kB / 388.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.2303, allocations: 327.1 kB / 388.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2304, allocations: 71.09 kB / 388.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2305, allocations: 126.7 kB / 388.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2308, allocations: 216.1 kB / 388.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2308, allocations: 0 / 388.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005281/0.2313, allocations: 339.6 kB / 389.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2314, allocations: 6.016 kB / 389.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2314, allocations: 2.688 kB / 389.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.2317, allocations: 77.39 kB / 389.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2318, allocations: 42.19 kB / 389.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.2334, allocations: 2.039 MB / 391.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.2335, allocations: 27.03 kB / 391.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2335, allocations: 12.94 kB / 391.4 MB, free: 3.582 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.2336, allocations: 147.2 kB / 391.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.2337, allocations: 16.95 kB / 391.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.2342, allocations: 289 kB / 391.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2342, allocations: 0.9375 kB / 391.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2342, allocations: 1.156 kB / 391.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.2343, allocations: 113.8 kB / 391.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.2343, allocations: 6.094 kB / 391.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2344, allocations: 2 kB / 391.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2345, allocations: 22.69 kB / 391.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006209/0.2351, allocations: 352.5 kB / 392.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003821/0.2355, allocations: 451.8 kB / 392.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001029/0.2356, allocations: 71.88 kB / 392.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.2357, allocations: 120.8 kB / 392.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Backend: time 3.11e-07/0.2357, allocations: 1.375 kB / 392.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.2366, allocations: 461 kB / 393.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007828/0.2374, allocations: 1.02 MB / 394.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Templates: time 0.007458/0.2449, allocations: 3.865 MB / 398.2 MB, free: 1.066 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches