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.00147/0.00147, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.38 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09451, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004038/0.09858, allocations: 2.842 MB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1001, allocations: 0.7595 MB / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1003, allocations: 8 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1005, allocations: 67.34 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1007, allocations: 95.12 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.1012, allocations: 131.7 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.1016, allocations: 438.8 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.1019, allocations: 228.9 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.1022, allocations: 183.4 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1024, allocations: 203.2 kB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.1025, allocations: 47.98 kB / 363.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1026, allocations: 52 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.1027, allocations: 107.7 kB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1029, allocations: 211 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1033, allocations: 0.5061 MB / 364.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1033, allocations: 0 / 364.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1034, allocations: 0 / 364.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1034, allocations: 0 / 364.7 MB, free: 7.488 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.0009966/0.1044, allocations: 0.6942 MB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1044, allocations: 8.031 kB / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.1046, allocations: 56.45 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1049, allocations: 274.1 kB / 365.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.105, allocations: 33.38 kB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.1051, allocations: 44.28 kB / 365.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.1057, allocations: 459.6 kB / 366.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1058, allocations: 0 / 366.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.1058, allocations: 16 kB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1058, allocations: 15.98 kB / 366.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1063, allocations: 283.8 kB / 366.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.1081, allocations: 1.299 MB / 367.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.1085, allocations: 242.2 kB / 368.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.1089, allocations: 197.8 kB / 368.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1089, allocations: 8 kB / 368.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1089, allocations: 34.56 kB / 368.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.1089, allocations: 0 / 368.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00134/0.1103, allocations: 0.5579 MB / 368.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.1104, allocations: 239.3 kB / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1106, allocations: 210.8 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1106, allocations: 33.7 kB / 369.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1107, allocations: 200.2 kB / 369.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1108, allocations: 98.45 kB / 369.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.1109, allocations: 65.69 kB / 369.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.111, allocations: 334.8 kB / 370.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1112, allocations: 75.72 kB / 370.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1114, allocations: 164.5 kB / 370.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.1117, allocations: 204.1 kB / 370.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1117, allocations: 4 kB / 370.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004318/0.1122, allocations: 269.1 kB / 370.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1122, allocations: 4 kB / 370.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1122, allocations: 4 kB / 370.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1122, allocations: 0 / 370.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.1126, allocations: 83.89 kB / 370.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1126, allocations: 3.938 kB / 370.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1128, allocations: 35.67 kB / 370.9 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1128, allocations: 16.06 kB / 370.9 MB, free: 0.9102 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.0001355/0.1129, allocations: 149.7 kB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.113, allocations: 27.66 kB / 371.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.1131, allocations: 38.62 kB / 371.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1131, allocations: 7.938 kB / 371.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1131, allocations: 0 / 371.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1131, allocations: 0 / 371.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1557/0.2689, allocations: 0.7652 MB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2689, allocations: 1.031 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.2692, allocations: 50.02 kB / 372 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.2695, allocations: 89.11 kB / 372 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.2696, allocations: 7.328 kB / 372 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.2712, allocations: 1.98 MB / 374 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2712, allocations: 1.156 kB / 374 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.2719, allocations: 0.4935 MB / 374.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.272, allocations: 109.1 kB / 374.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.272, allocations: 7.219 kB / 374.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2722, allocations: 15.48 kB / 374.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.2722, allocations: 23.91 kB / 374.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2723, allocations: 10.53 kB / 374.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2724, allocations: 152.5 kB / 374.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2724, allocations: 0.5312 kB / 374.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.2728, allocations: 107 kB / 374.9 MB, free: 18.3 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 9.515e-05/0.2729, allocations: 105.8 kB / 375 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2733, allocations: 214.5 kB / 375.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2733, allocations: 1.125 kB / 375.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.2736, allocations: 277.6 kB / 375.5 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2741, allocations: 29.77 kB / 375.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2752, allocations: 0.8398 MB / 376.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2754, allocations: 0.7888 MB / 377.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.2755, allocations: 25.08 kB / 377.2 MB, free: 16.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2755, allocations: 21.08 kB / 377.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2755, allocations: 0 / 377.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of Templates: time 0.006426/0.282, allocations: 3.09 MB / 380.3 MB, free: 16.54 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 -s gbode -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.0.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