Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 71.44 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 150.7 kB / 24.49 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 52.25 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08113, allocations: 52.15 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004545/0.08568, allocations: 3.222 MB / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.08709, allocations: 0.8803 MB / 375.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.08725, allocations: 4 kB / 375.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.08749, allocations: 95.08 kB / 375.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.08784, allocations: 166.7 kB / 375.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.08818, allocations: 163.8 kB / 376.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.08879, allocations: 0.6387 MB / 376.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.08903, allocations: 133.9 kB / 376.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.08932, allocations: 247.1 kB / 377.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.08962, allocations: 238.7 kB / 377.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.0897, allocations: 52 kB / 377.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.08978, allocations: 52 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.08989, allocations: 127.5 kB / 377.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.09012, allocations: 230.8 kB / 377.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.09073, allocations: 0.6301 MB / 378.4 MB, free: 476 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09073, allocations: 4 kB / 378.4 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09073, allocations: 0 / 378.4 MB, free: 472 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.09074, allocations: 0 / 378.4 MB, free: 472 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001419/0.09216, allocations: 0.7895 MB / 379.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.09219, allocations: 12.03 kB / 379.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.09229, allocations: 60.56 kB / 379.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.09273, allocations: 294.1 kB / 379.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.09277, allocations: 37.69 kB / 379.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.09284, allocations: 56.33 kB / 379.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.09364, allocations: 446.4 kB / 380.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.09366, allocations: 3.938 kB / 380.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.0937, allocations: 20 kB / 380.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.09371, allocations: 12 kB / 380.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.09458, allocations: 393 kB / 380.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.09683, allocations: 1.248 MB / 381.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.0975, allocations: 316.7 kB / 382.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.0979, allocations: 157.4 kB / 382.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.09793, allocations: 4.328 kB / 382.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.09796, allocations: 42.88 kB / 382.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.542e-06/0.09796, allocations: 0 / 382.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00323/0.1012, allocations: 1.189 MB / 383.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1012, allocations: 59.91 kB / 383.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1017, allocations: 397.5 kB / 383.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1017, allocations: 37.64 kB / 383.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.1019, allocations: 308.6 kB / 384.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1021, allocations: 202.3 kB / 384.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1022, allocations: 106.3 kB / 384.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1024, allocations: 354.8 kB / 384.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.1028, allocations: 181.2 kB / 385.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.1033, allocations: 299 kB / 385.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.1043, allocations: 492.2 kB / 385.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1043, allocations: 8 kB / 385.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001467/0.1057, allocations: 0.7366 MB / 386.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1057, allocations: 7.938 kB / 386.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1058, allocations: 7.938 kB / 386.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.1063, allocations: 177.6 kB / 386.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.1067, allocations: 115.8 kB / 386.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.1108, allocations: 3.974 MB / 390.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.1112, allocations: 35.91 kB / 390.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.1112, allocations: 24 kB / 390.9 MB, free: 3.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0002087/0.1115, allocations: 188.7 kB / 391.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.1115, allocations: 43.72 kB / 391.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1116, allocations: 56.91 kB / 391.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1117, allocations: 4 kB / 391.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1117, allocations: 4 kB / 391.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1117, allocations: 7.922 kB / 391.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.1138, allocations: 1.137 MB / 392.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1138, allocations: 4.125 kB / 392.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1141, allocations: 67.89 kB / 392.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.1145, allocations: 165.7 kB / 392.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1146, allocations: 15.94 kB / 392.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.1184, allocations: 3.818 MB / 396.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1184, allocations: 4.031 kB / 396.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1197, allocations: 0.6927 MB / 397.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.1198, allocations: 47.66 kB / 397.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1198, allocations: 12 kB / 397.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.1201, allocations: 27.98 kB / 397.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.1202, allocations: 52.34 kB / 397.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.1202, allocations: 16 kB / 397.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.1205, allocations: 267.2 kB / 397.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1205, allocations: 0 / 397.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000628/0.1212, allocations: 148 kB / 397.7 MB, free: 12.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0001208/0.1213, allocations: 115.2 kB / 397.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.1227, allocations: 0.7579 MB / 398.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1227, allocations: 3.938 kB / 398.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.1235, allocations: 0.5049 MB / 399.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1239, allocations: 45.48 kB / 399.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1256, allocations: 0.9538 MB / 400.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1258, allocations: 259 kB / 400.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.126, allocations: 44.25 kB / 400.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.126, allocations: 28.5 kB / 400.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.126, allocations: 192 / 400.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of Templates: time 0.4078/0.5338, allocations: 5.115 MB / 405.5 MB, free: 4.457 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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: 7.334486024919897]