Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",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.001586/0.001586, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001661/0.001661, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.356/1.356, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001605/0.001605, allocations: 59.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.087, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1735/0.2605, allocations: 5.211 MB / 379.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.2641, allocations: 1.718 MB / 381.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.2647, allocations: 16.5 kB / 381.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.2677, allocations: 1.413 MB / 383 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.269, allocations: 320.8 kB / 383.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.2707, allocations: 0.8006 MB / 384.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.2718, allocations: 0.815 MB / 384.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2728, allocations: 0.7639 MB / 385.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.2734, allocations: 350.7 kB / 386 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004903/0.2739, allocations: 470.5 kB / 386.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.274, allocations: 74.75 kB / 386.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.2747, allocations: 256.4 kB / 386.8 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2748, allocations: 182.8 kB / 387 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.2752, allocations: 423.3 kB / 387.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.2766, allocations: 1.192 MB / 388.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2767, allocations: 0.6562 kB / 388.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2767, allocations: 1.406 kB / 388.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.2767, allocations: 4 kB / 388.6 MB, free: 6.793 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003718/0.2804, allocations: 1.46 MB / 390.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2805, allocations: 13.44 kB / 390.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.2806, allocations: 148.2 kB / 390.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.2823, allocations: 256.5 kB / 390.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2825, allocations: 266.5 kB / 390.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.2826, allocations: 69.78 kB / 390.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.2828, allocations: 97.31 kB / 390.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.2843, allocations: 0.9473 MB / 391.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.2844, allocations: 10.73 kB / 391.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.2845, allocations: 41.23 kB / 391.9 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.2845, allocations: 26.97 kB / 391.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2858, allocations: 0.7775 MB / 392.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.2906, allocations: 3.366 MB / 396.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.2925, allocations: 1.255 MB / 397.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.293, allocations: 374.6 kB / 397.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.2931, allocations: 105.3 kB / 397.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2932, allocations: 48.52 kB / 397.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.396e-06/0.2932, allocations: 0 / 397.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.001992/0.2952, allocations: 1.299 MB / 399.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2952, allocations: 86.2 kB / 399.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.2957, allocations: 369.9 kB / 399.6 MB, free: 400 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.2957, allocations: 41.08 kB / 399.6 MB, free: 356 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2959, allocations: 388.8 kB / 400 MB, free: 36 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.2962, allocations: 320 kB / 400.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.2965, allocations: 177.4 kB / 400.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2967, allocations: 363.2 kB / 400.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.2971, allocations: 265.3 kB / 401.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.2977, allocations: 476 kB / 401.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2988, allocations: 0.7676 MB / 402.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.391e-06/0.2988, allocations: 1.156 kB / 402.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001751/0.3006, allocations: 0.9745 MB / 403.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.3006, allocations: 14.02 kB / 403.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3007, allocations: 5.562 kB / 403.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.3011, allocations: 121.4 kB / 403.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.3019, allocations: 206.3 kB / 403.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.3066, allocations: 6.135 MB / 409.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.3073, allocations: 106 kB / 409.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.3074, allocations: 40.34 kB / 409.9 MB, free: 7.676 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.3078, allocations: 232.9 kB / 410.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3079, allocations: 57.97 kB / 410.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3094, allocations: 0.844 MB / 411.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3094, allocations: 8.562 kB / 411.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3095, allocations: 7.094 kB / 411.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3095, allocations: 3.844 kB / 411.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.3124, allocations: 1.933 MB / 413 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3125, allocations: 2.875 kB / 413 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.313, allocations: 137.2 kB / 413.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.3134, allocations: 110.9 kB / 413.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.3134, allocations: 23.95 kB / 413.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.3177, allocations: 5.703 MB / 419 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3177, allocations: 3.094 kB / 419 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3196, allocations: 1.277 MB / 420.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.3198, allocations: 144.2 kB / 420.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.3199, allocations: 21.03 kB / 420.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.3203, allocations: 30.94 kB / 420.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3204, allocations: 68.25 kB / 420.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3205, allocations: 23.56 kB / 420.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.3208, allocations: 254.9 kB / 420.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3208, allocations: 0 / 420.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009643/0.3217, allocations: 267 kB / 421.1 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (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.002334/0.3241, allocations: 1.861 MB / 422.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.3259, allocations: 1.183 MB / 424.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3259, allocations: 0 / 424.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009257/0.3269, allocations: 0.7882 MB / 424.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.3275, allocations: 69.36 kB / 425 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.3359, allocations: 5.708 MB / 430.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.3365, allocations: 0.9149 MB / 431.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.337, allocations: 101.1 kB / 431.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.3374, allocations: 247.3 kB / 431.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3374, allocations: 4 kB / 431.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.59/1.928, allocations: 12.76 MB / 444.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.9, allocations: 15.91 kB / 444.7 MB, free: 7.289 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches