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.0009406/0.0009408, allocations: 96.58 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009648/0.0009649, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.8 MB / 246.9 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.00023, allocations: 4 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 51.54 MB / 359.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002959/0.1051, allocations: 2.498 MB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1065, allocations: 0.748 MB / 362.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1066, allocations: 4 kB / 362.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1067, allocations: 51.59 kB / 362.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1069, allocations: 79.38 kB / 362.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1073, allocations: 103.8 kB / 362.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.1077, allocations: 426.8 kB / 363.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.1081, allocations: 194 kB / 363.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.1084, allocations: 155.5 kB / 363.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1086, allocations: 167.2 kB / 363.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.1087, allocations: 24 kB / 363.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.1088, allocations: 24 kB / 363.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.1088, allocations: 83.67 kB / 363.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.109, allocations: 208.7 kB / 364.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.1095, allocations: 482.4 kB / 364.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1096, allocations: 4 kB / 364.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1096, allocations: 4 kB / 364.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1096, allocations: 0 / 364.5 MB, free: 7.965 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.001118/0.1107, allocations: 0.6241 MB / 365.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1108, allocations: 11.97 kB / 365.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.111, allocations: 56.45 kB / 365.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1113, allocations: 276.4 kB / 365.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1114, allocations: 33.38 kB / 365.5 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.1115, allocations: 40.38 kB / 365.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.1123, allocations: 459.6 kB / 366 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1123, allocations: 3.906 kB / 366 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1123, allocations: 16 kB / 366 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1123, allocations: 8 kB / 366 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/0.1129, allocations: 299.8 kB / 366.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.115, allocations: 1.314 MB / 367.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.1155, allocations: 238.7 kB / 367.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.1159, allocations: 189.9 kB / 368.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1159, allocations: 15.92 kB / 368.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1159, allocations: 34.56 kB / 368.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.116, allocations: 4 kB / 368.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00146/0.1174, allocations: 0.554 MB / 368.7 MB, free: 3.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.1176, allocations: 239.3 kB / 368.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1178, allocations: 210.8 kB / 369.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1179, allocations: 33.7 kB / 369.1 MB, free: 3.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.118, allocations: 200.2 kB / 369.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.1181, allocations: 98.47 kB / 369.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1182, allocations: 33.7 kB / 369.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1183, allocations: 330.8 kB / 369.8 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1185, allocations: 83.95 kB / 369.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.1188, allocations: 160.2 kB / 370 MB, free: 2.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1191, allocations: 207.2 kB / 370.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1192, allocations: 0 / 370.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005051/0.1197, allocations: 277.1 kB / 370.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1197, allocations: 8 kB / 370.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1197, allocations: 0 / 370.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1197, allocations: 0 / 370.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.1201, allocations: 83.89 kB / 370.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1201, allocations: 8.062 kB / 370.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1203, allocations: 31.69 kB / 370.6 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1203, allocations: 11.94 kB / 370.6 MB, free: 1.453 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.0001631/0.1205, allocations: 153.8 kB / 370.8 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.1205, allocations: 27.66 kB / 370.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.1206, allocations: 30.64 kB / 370.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1206, allocations: 4 kB / 370.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1206, allocations: 0 / 370.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1207, allocations: 7.984 kB / 370.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1218, allocations: 0.773 MB / 371.6 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1218, allocations: 3.938 kB / 371.6 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1221, allocations: 47.97 kB / 371.7 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.1224, allocations: 96.77 kB / 371.8 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1224, allocations: 8 kB / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1678/0.2902, allocations: 1.83 MB / 373.6 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2902, allocations: 5.469 kB / 373.6 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.291, allocations: 0.5042 MB / 374.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.291, allocations: 108.3 kB / 374.2 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.2911, allocations: 7.578 kB / 374.2 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2913, allocations: 12.19 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2913, allocations: 27.2 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2914, allocations: 9.734 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2915, allocations: 149.3 kB / 374.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2915, allocations: 0 / 374.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000413/0.2919, allocations: 103.6 kB / 374.5 MB, free: 17.51 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.0001105/0.292, allocations: 106.5 kB / 374.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.2925, allocations: 212.5 kB / 374.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2925, allocations: 0 / 374.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.293, allocations: 280.6 kB / 375.1 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.2934, allocations: 34.39 kB / 375.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2946, allocations: 1.101 MB / 376.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2948, allocations: 0.7849 MB / 377 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.295, allocations: 29.19 kB / 377.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.295, allocations: 21.17 kB / 377.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.295, allocations: 0.6562 kB / 377.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Templates: time 0.007039/0.3021, allocations: 2.88 MB / 380 MB, free: 15.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches