Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008801/0.0008801, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009203/0.0009203, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9025/0.9025, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.129e-05, allocations: 6.781 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005113/0.005134, allocations: 5.956 MB / 330.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.009275, allocations: 2.331 MB / 332.8 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.009991, allocations: 24 kB / 332.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.01216, allocations: 1.838 MB / 334.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.01369, allocations: 0.5508 MB / 335.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.01545, allocations: 1.255 MB / 336.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.01678, allocations: 1.167 MB / 337.7 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.01781, allocations: 0.8175 MB / 338.5 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.01854, allocations: 0.7054 MB / 339.2 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.01894, allocations: 478.7 kB / 339.6 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.01903, allocations: 100 kB / 339.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.01991, allocations: 431.3 kB / 340.2 MB, free: 192 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.02006, allocations: 251 kB / 340.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.02033, allocations: 391 kB / 340.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.02175, allocations: 1.717 MB / 342.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.02175, allocations: 0 / 342.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.02176, allocations: 4 kB / 342.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.02177, allocations: 0 / 342.5 MB, free: 13.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003392/0.02516, allocations: 1.968 MB / 344.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.02521, allocations: 15.98 kB / 344.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.02537, allocations: 190.4 kB / 344.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.02708, allocations: 495.8 kB / 345.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.02735, allocations: 252.1 kB / 345.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.02741, allocations: 94.95 kB / 345.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.02754, allocations: 136.3 kB / 345.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.02906, allocations: 1.325 MB / 347 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.02909, allocations: 192 / 347 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.02916, allocations: 56.12 kB / 347 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.02918, allocations: 32 kB / 347 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.03064, allocations: 1.185 MB / 348.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.03461, allocations: 3.495 MB / 351.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.0359, allocations: 1.139 MB / 352.9 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.03648, allocations: 452 kB / 353.3 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.0366, allocations: 40.97 kB / 353.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.03663, allocations: 47.5 kB / 353.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.03663, allocations: 0 / 353.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.006207/0.04284, allocations: 3.545 MB / 356.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.04291, allocations: 94.11 kB / 357 MB, free: 15.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.04329, allocations: 409.3 kB / 357.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.04334, allocations: 41.7 kB / 357.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.04357, allocations: 468.5 kB / 357.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.0438, allocations: 444.1 kB / 358.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.04403, allocations: 227.5 kB / 358.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.04417, allocations: 374.8 kB / 358.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.04476, allocations: 431.8 kB / 359.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.04552, allocations: 0.7169 MB / 360.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.04691, allocations: 1.179 MB / 361.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.04692, allocations: 0 / 361.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001903/0.04882, allocations: 1.467 MB / 362.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.04885, allocations: 12 kB / 362.7 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.04886, allocations: 7.938 kB / 362.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.0493, allocations: 200.8 kB / 362.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.04995, allocations: 287.5 kB / 363.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.05339, allocations: 4.125 MB / 367.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.0539, allocations: 79.89 kB / 367.4 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.05396, allocations: 51.98 kB / 367.5 MB, free: 4.078 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.05431, allocations: 265.6 kB / 367.7 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.05441, allocations: 71.58 kB / 367.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.05618, allocations: 1.331 MB / 369.1 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.05619, allocations: 16 kB / 369.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.05619, allocations: 4 kB / 369.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.0562, allocations: 3.984 kB / 369.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.05904, allocations: 2.318 MB / 371.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.05904, allocations: 4 kB / 371.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.05952, allocations: 207.7 kB / 371.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.0598, allocations: 169.7 kB / 371.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.05984, allocations: 31.92 kB / 371.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.06243, allocations: 3.939 MB / 375.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.06244, allocations: 4 kB / 375.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.06467, allocations: 1.861 MB / 377.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.06494, allocations: 155.5 kB / 377.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.06499, allocations: 23.94 kB / 377.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.06529, allocations: 55.95 kB / 377.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.06544, allocations: 104.8 kB / 378 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.06547, allocations: 35.98 kB / 378.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.06567, allocations: 271.4 kB / 378.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06567, allocations: 0 / 378.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.06642, allocations: 304 kB / 378.6 MB, free: 8.578 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002437/0.06886, allocations: 2.481 MB / 381.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.07065, allocations: 1.379 MB / 382.5 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.07065, allocations: 4 kB / 382.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.07148, allocations: 0.8156 MB / 383.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.07189, allocations: 73.42 kB / 383.4 MB, free: 3.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.08034, allocations: 7.554 MB / 390.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.08069, allocations: 420.3 kB / 391.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.08107, allocations: 142.6 kB / 391.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.08143, allocations: 356.3 kB / 391.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.08143, allocations: 0 / 391.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.1204, allocations: 18.76 MB / 410.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.434, allocations: 0 / 410.6 MB, free: 8.379 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.173621617257595]