Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009767/0.0009766, allocations: 97.45 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002127, allocations: 7.984 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003297/0.1111, allocations: 2.841 MB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1124, allocations: 0.9392 MB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1126, allocations: 11.94 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1127, allocations: 59.48 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.113, allocations: 163.6 kB / 362.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1133, allocations: 123.7 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.1137, allocations: 407.6 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.114, allocations: 154.2 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1142, allocations: 207.1 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1144, allocations: 230.9 kB / 363.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.1145, allocations: 32 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.1146, allocations: 32 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.1147, allocations: 91.58 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.251e-05/0.1148, allocations: 125.4 kB / 363.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.1151, allocations: 474.8 kB / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1151, allocations: 0 / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1151, allocations: 0 / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1151, allocations: 0 / 363.9 MB, free: 8.027 MB / 302.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.00131/0.1165, allocations: 0.7912 MB / 364.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1165, allocations: 8.031 kB / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1166, allocations: 67.23 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.1171, allocations: 334.6 kB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.1171, allocations: 37.31 kB / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.1172, allocations: 48 kB / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008122/0.118, allocations: 442.4 kB / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.118, allocations: 0 / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.1181, allocations: 20 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1181, allocations: 12 kB / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.119, allocations: 413 kB / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.1214, allocations: 1.597 MB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.1222, allocations: 417.4 kB / 368.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.1222, allocations: 12.27 kB / 368.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1223, allocations: 34.89 kB / 368.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/0.1223, allocations: 0 / 368.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.00342/0.1257, allocations: 1.401 MB / 369.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1258, allocations: 63.97 kB / 369.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.1262, allocations: 401.5 kB / 370 MB, free: 1.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1262, allocations: 37.7 kB / 370 MB, free: 1.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1264, allocations: 303.8 kB / 370.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1266, allocations: 185.3 kB / 370.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1266, allocations: 16 kB / 370.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1267, allocations: 362.8 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.1271, allocations: 197.1 kB / 371 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.1276, allocations: 298.2 kB / 371.3 MB, free: 268 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.1281, allocations: 234.1 kB / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1281, allocations: 0 / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.1944/0.3225, allocations: 0.755 MB / 372.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3226, allocations: 7.266 kB / 372.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3226, allocations: 2.594 kB / 372.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.3231, allocations: 195.3 kB / 372.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.3237, allocations: 123.2 kB / 372.6 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.3274, allocations: 3.991 MB / 376.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3279, allocations: 35.89 kB / 376.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.3279, allocations: 25.92 kB / 376.7 MB, free: 16.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.3281, allocations: 183.1 kB / 376.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3282, allocations: 55.05 kB / 376.9 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.3284, allocations: 60.88 kB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3284, allocations: 5.719 kB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.3284, allocations: 7.656 kB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3284, allocations: 3.641 kB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3305, allocations: 1.324 MB / 378.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3306, allocations: 1.938 kB / 378.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3308, allocations: 67.81 kB / 378.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.3313, allocations: 176.4 kB / 378.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.3313, allocations: 16.92 kB / 378.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.3344, allocations: 3.886 MB / 382.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3344, allocations: 1.281 kB / 382.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3356, allocations: 0.7606 MB / 383.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.3357, allocations: 120.9 kB / 383.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3358, allocations: 8.109 kB / 383.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.336, allocations: 33.03 kB / 383.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3362, allocations: 53.42 kB / 383.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.3362, allocations: 14.95 kB / 383.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.3365, allocations: 279.6 kB / 383.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3365, allocations: 0 / 383.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000709/0.3372, allocations: 157.3 kB / 383.9 MB, free: 11.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 31 * 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 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.3373, allocations: 113 kB / 384 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.3388, allocations: 0.819 MB / 384.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3388, allocations: 0 / 384.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.3396, allocations: 0.5649 MB / 385.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3399, allocations: 31.05 kB / 385.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3415, allocations: 1.12 MB / 386.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3419, allocations: 0.8829 MB / 387.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.3421, allocations: 45.75 kB / 387.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.3422, allocations: 33.11 kB / 387.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3422, allocations: 1.062 kB / 387.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of Templates: time 0.0104/0.3526, allocations: 4.678 MB / 392.2 MB, free: 7.953 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches