Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002181/0.002181, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.61 kB / 307.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004811/0.109, allocations: 2.842 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1105, allocations: 0.7595 MB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1107, allocations: 4 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1109, allocations: 59.42 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1111, allocations: 95.05 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1116, allocations: 143.7 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.1121, allocations: 438.8 kB / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.1125, allocations: 224.9 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1128, allocations: 183.4 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1131, allocations: 211.1 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.1131, allocations: 48 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1133, allocations: 48 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.1134, allocations: 99.62 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1136, allocations: 227 kB / 363.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.1141, allocations: 0.4946 MB / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1141, allocations: 0 / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1141, allocations: 0 / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1141, allocations: 4 kB / 364 MB, free: 8.215 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0012/0.1153, allocations: 0.6903 MB / 364.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1154, allocations: 8.031 kB / 364.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.1156, allocations: 60.45 kB / 364.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.116, allocations: 274 kB / 365 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.116, allocations: 29.38 kB / 365.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.1161, allocations: 48.28 kB / 365.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.1169, allocations: 459.6 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1169, allocations: 0 / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.1169, allocations: 16 kB / 365.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.117, allocations: 8 kB / 365.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005492/0.1175, allocations: 283.9 kB / 365.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1196, allocations: 1.314 MB / 367.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.12, allocations: 230.7 kB / 367.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.1204, allocations: 197.8 kB / 367.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1205, allocations: 7.938 kB / 367.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1205, allocations: 38.56 kB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.1205, allocations: 0 / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001465/0.122, allocations: 0.554 MB / 368.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.1222, allocations: 243.3 kB / 368.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1224, allocations: 202.8 kB / 368.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1224, allocations: 33.7 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1226, allocations: 204.2 kB / 368.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.71e-05/0.1227, allocations: 102.5 kB / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1228, allocations: 61.7 kB / 369 MB, free: 2.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.123, allocations: 330.8 kB / 369.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1232, allocations: 83.7 kB / 369.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.1235, allocations: 148.5 kB / 369.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.1238, allocations: 207.1 kB / 369.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1238, allocations: 0 / 369.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005031/0.1244, allocations: 277.1 kB / 370.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1244, allocations: 8 kB / 370.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1244, allocations: 0 / 370.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1244, allocations: 0 / 370.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.1248, allocations: 83.83 kB / 370.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1248, allocations: 4.062 kB / 370.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.125, allocations: 35.69 kB / 370.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.125, allocations: 8 kB / 370.2 MB, free: 1.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.1252, allocations: 153.8 kB / 370.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1252, allocations: 27.66 kB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.1253, allocations: 30.66 kB / 370.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1253, allocations: 4 kB / 370.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.1253, allocations: 0 / 370.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1254, allocations: 7.984 kB / 370.4 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1266, allocations: 0.7672 MB / 371.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1266, allocations: 3.938 kB / 371.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.1268, allocations: 55.91 kB / 371.2 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.1272, allocations: 88.8 kB / 371.3 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1272, allocations: 8 kB / 371.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1676/0.2948, allocations: 1.975 MB / 373.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2949, allocations: 1.469 kB / 373.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.2956, allocations: 0.4981 MB / 373.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.2957, allocations: 101.2 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.2958, allocations: 12.84 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2959, allocations: 9.812 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.296, allocations: 29.73 kB / 374 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.296, allocations: 7.109 kB / 374 MB, free: 18.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.2962, allocations: 150.9 kB / 374.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2962, allocations: 0.5938 kB / 374.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2966, allocations: 113.5 kB / 374.2 MB, free: 18.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,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.0001167/0.2967, allocations: 103.8 kB / 374.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.2972, allocations: 218 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2972, allocations: 1.062 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.2976, allocations: 275.5 kB / 374.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.298, allocations: 33.61 kB / 374.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2993, allocations: 0.8818 MB / 375.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2995, allocations: 0.7891 MB / 376.5 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.2996, allocations: 22.61 kB / 376.5 MB, free: 16.94 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2996, allocations: 0 / 376.5 MB, free: 16.94 MB / 302.1 MB Notification: Performance of Templates: time 0.007263/0.3069, allocations: 4.038 MB / 380.6 MB, free: 16.6 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches