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) 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 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008208/0.0008207, allocations: 92.62 kB / 16.31 MB, free: 5.586 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.0009369/0.000937, allocations: 178.3 kB / 17.2 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 241.2 MB, free: 5.246 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002337/0.0002338, allocations: 5.438 kB / 300.8 MB, free: 5.57 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09101, allocations: 50.43 MB / 351.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00376/0.09482, allocations: 2.974 MB / 354.2 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.09631, allocations: 0.8806 MB / 355.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.0965, allocations: 11.94 kB / 355.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.09669, allocations: 67.53 kB / 355.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.09704, allocations: 123.1 kB / 355.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.09733, allocations: 127.8 kB / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.09785, allocations: 0.5674 MB / 356 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.09811, allocations: 154.2 kB / 356.1 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.09837, allocations: 199.2 kB / 356.3 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.09864, allocations: 234.8 kB / 356.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.0987, allocations: 28 kB / 356.6 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.09877, allocations: 32 kB / 356.6 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.09885, allocations: 87.61 kB / 356.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.09896, allocations: 125.4 kB / 356.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.09939, allocations: 466.6 kB / 357.3 MB, free: 5.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.09941, allocations: 4 kB / 357.3 MB, free: 5.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09941, allocations: 0 / 357.3 MB, free: 5.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.09943, allocations: 0 / 357.3 MB, free: 5.281 MB / 286.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.001265/0.1007, allocations: 0.7795 MB / 358.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1007, allocations: 16.03 kB / 358.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1008, allocations: 63.2 kB / 358.1 MB, free: 4.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1012, allocations: 337.9 kB / 358.5 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.1013, allocations: 37.31 kB / 358.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.1014, allocations: 48 kB / 358.6 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.1022, allocations: 446.5 kB / 359 MB, free: 3.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1022, allocations: 0 / 359 MB, free: 3.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.1022, allocations: 20 kB / 359 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1023, allocations: 12 kB / 359 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.1031, allocations: 417 kB / 359.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.1056, allocations: 1.585 MB / 361 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.1063, allocations: 409.3 kB / 361.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.1067, allocations: 193.4 kB / 361.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.1068, allocations: 12.38 kB / 361.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1068, allocations: 38.89 kB / 361.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.1068, allocations: 0 / 361.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of matching and sorting (n=55): time 0.003162/0.11, allocations: 1.277 MB / 362.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.1101, allocations: 63.91 kB / 363 MB, free: 15.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.1105, allocations: 393.5 kB / 363.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1105, allocations: 33.7 kB / 363.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.1107, allocations: 299.8 kB / 363.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1109, allocations: 181.3 kB / 363.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1109, allocations: 16 kB / 363.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1111, allocations: 358.8 kB / 364.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1116, allocations: 189.2 kB / 364.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.1123, allocations: 303 kB / 364.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.1128, allocations: 226.1 kB / 364.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1128, allocations: 0 / 364.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001424/0.1142, allocations: 0.7617 MB / 365.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1143, allocations: 10.19 kB / 365.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1143, allocations: 7.938 kB / 365.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.1148, allocations: 173.6 kB / 365.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.1153, allocations: 123.8 kB / 366 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.1192, allocations: 3.874 MB / 369.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1196, allocations: 39.97 kB / 369.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.1196, allocations: 20 kB / 370 MB, free: 8.004 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.1199, allocations: 185.7 kB / 370.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.12, allocations: 51.34 kB / 370.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.1201, allocations: 57.03 kB / 370.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1201, allocations: 11.98 kB / 370.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.1201, allocations: 4 kB / 370.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1201, allocations: 0 / 370.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1222, allocations: 1.324 MB / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1223, allocations: 0 / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.1226, allocations: 75.89 kB / 371.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.1229, allocations: 157.6 kB / 371.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.123, allocations: 15.98 kB / 371.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.1264, allocations: 3.709 MB / 375.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1264, allocations: 0 / 375.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.1275, allocations: 0.7082 MB / 376.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.1277, allocations: 128.5 kB / 376.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.1277, allocations: 12 kB / 376.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.128, allocations: 27.98 kB / 376.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.1281, allocations: 44.31 kB / 376.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.1281, allocations: 16 kB / 376.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1284, allocations: 271.2 kB / 376.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1284, allocations: 4 kB / 376.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006612/0.1291, allocations: 152 kB / 376.9 MB, free: 0.6602 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.1292, allocations: 119.2 kB / 377 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.1306, allocations: 0.8005 MB / 377.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1306, allocations: 0 / 377.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007635/0.1314, allocations: 0.5357 MB / 378.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.1319, allocations: 42.27 kB / 378.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1336, allocations: 1.133 MB / 379.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.134, allocations: 0.8591 MB / 380.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.1342, allocations: 48.34 kB / 380.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.1343, allocations: 35.44 kB / 380.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1343, allocations: 0 / 380.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Templates: time 0.009281/0.1436, allocations: 4.5 MB / 384.9 MB, free: 8.465 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches