Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8826/0.8826, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.862e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005275/0.005294, allocations: 5.947 MB / 330.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.008407, allocations: 2.335 MB / 332.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.008797, allocations: 24 kB / 332.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.01074, allocations: 1.842 MB / 334.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009611/0.0117, allocations: 0.5542 MB / 335.3 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.01306, allocations: 1.256 MB / 336.5 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.01401, allocations: 1.155 MB / 337.7 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009501/0.01496, allocations: 0.8252 MB / 338.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.01559, allocations: 0.6937 MB / 339.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.01601, allocations: 482.6 kB / 339.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.01612, allocations: 100 kB / 339.8 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.0168, allocations: 439.2 kB / 340.2 MB, free: 220 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.01692, allocations: 251 kB / 340.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.01717, allocations: 394.9 kB / 340.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.0185, allocations: 1.717 MB / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01851, allocations: 0 / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01851, allocations: 0 / 342.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.01854, allocations: 0 / 342.6 MB, free: 13.86 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.003458/0.02199, allocations: 1.964 MB / 344.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.02203, allocations: 11.97 kB / 344.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.02218, allocations: 190.4 kB / 344.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.02385, allocations: 495.7 kB / 345.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.02408, allocations: 252.2 kB / 345.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.02414, allocations: 98.89 kB / 345.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.02429, allocations: 132.3 kB / 345.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.02576, allocations: 1.325 MB / 347 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.02579, allocations: 4.188 kB / 347 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.02586, allocations: 52.12 kB / 347.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.02588, allocations: 32 kB / 347.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.02744, allocations: 1.177 MB / 348.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.03149, allocations: 3.488 MB / 351.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.03278, allocations: 1.146 MB / 352.9 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.03334, allocations: 452 kB / 353.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/0.03343, allocations: 40.95 kB / 353.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.03347, allocations: 51.5 kB / 353.4 MB, free: 2.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.655e-06/0.03347, allocations: 7.938 kB / 353.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005695/0.03917, allocations: 3.537 MB / 357 MB, free: 15.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.03922, allocations: 90.11 kB / 357.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.03953, allocations: 409.3 kB / 357.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.03958, allocations: 49.69 kB / 357.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.03976, allocations: 460.6 kB / 358 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.03997, allocations: 444.2 kB / 358.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.04019, allocations: 227.5 kB / 358.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.0403, allocations: 374.8 kB / 359 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.04088, allocations: 435.8 kB / 359.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.04159, allocations: 0.7208 MB / 360.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.04293, allocations: 1.179 MB / 361.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.04293, allocations: 4 kB / 361.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001753/0.04469, allocations: 1.459 MB / 362.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.0447, allocations: 8 kB / 362.8 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.04472, allocations: 11.94 kB / 362.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.04506, allocations: 200.9 kB / 363 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.04567, allocations: 291.6 kB / 363.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.04841, allocations: 4.118 MB / 367.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.04883, allocations: 79.97 kB / 367.5 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.04889, allocations: 51.98 kB / 367.5 MB, free: 4.121 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.0003055/0.04919, allocations: 269.5 kB / 367.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.04928, allocations: 67.58 kB / 367.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.05101, allocations: 1.331 MB / 369.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.05101, allocations: 12 kB / 369.2 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.05102, allocations: 4 kB / 369.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.05103, allocations: 12.16 kB / 369.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.05388, allocations: 2.314 MB / 371.5 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.05388, allocations: 7.938 kB / 371.5 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.05436, allocations: 211.7 kB / 371.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.05461, allocations: 173.6 kB / 371.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.05466, allocations: 39.92 kB / 372 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.0571, allocations: 3.931 MB / 375.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0571, allocations: 0 / 375.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.05953, allocations: 1.861 MB / 377.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.05975, allocations: 155.4 kB / 377.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.0598, allocations: 27.94 kB / 377.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.0601, allocations: 64 kB / 378 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.06022, allocations: 92.81 kB / 378.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.06026, allocations: 39.98 kB / 378.1 MB, free: 9.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.06044, allocations: 263.2 kB / 378.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06044, allocations: 0 / 378.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.06116, allocations: 308 kB / 378.7 MB, free: 8.617 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.002481/0.06364, allocations: 2.482 MB / 381.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.06531, allocations: 1.383 MB / 382.5 MB, free: 4.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.06532, allocations: 4 kB / 382.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.06611, allocations: 0.8153 MB / 383.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.06647, allocations: 69.62 kB / 383.4 MB, free: 3.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.07455, allocations: 7.553 MB / 391 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.07484, allocations: 424.3 kB / 391.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.07517, allocations: 146.6 kB / 391.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.07549, allocations: 348.4 kB / 391.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.07549, allocations: 0 / 391.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.1101, allocations: 18.77 MB / 410.6 MB, free: 8.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.482, allocations: 0 / 410.6 MB, free: 8.453 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.146097200922668]