Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 105 kB / 16.62 MB, free: 6.809 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.001466/0.001466, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.351/1.351, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009138/0.0009138, allocations: 47.19 kB / 300.1 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09317, allocations: 49.46 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006522/0.09974, allocations: 2.863 MB / 352.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1017, allocations: 0.7127 MB / 353.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1019, allocations: 12 kB / 353.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1021, allocations: 39.67 kB / 353.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1025, allocations: 79.36 kB / 353.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.103, allocations: 103.8 kB / 353.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007127/0.1038, allocations: 454.7 kB / 353.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.1043, allocations: 220.9 kB / 354 MB, free: 284 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.1046, allocations: 175.5 kB / 354.2 MB, free: 108 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.105, allocations: 203.1 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/0.1051, allocations: 48 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1053, allocations: 48 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1054, allocations: 95.69 kB / 354.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.1057, allocations: 219 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.1065, allocations: 0.4907 MB / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1065, allocations: 0 / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1065, allocations: 0 / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1065, allocations: 0 / 355.3 MB, free: 15.01 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.001695/0.1082, allocations: 0.6825 MB / 356 MB, free: 14.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1083, allocations: 19.83 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1084, allocations: 44.45 kB / 356 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.1089, allocations: 280.4 kB / 356.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.109, allocations: 33.38 kB / 356.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1091, allocations: 40.38 kB / 356.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1103, allocations: 455.6 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.1104, allocations: 3.906 kB / 356.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.1104, allocations: 20 kB / 356.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.1105, allocations: 12 kB / 356.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.1114, allocations: 287.8 kB / 357.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.1146, allocations: 1.303 MB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.1153, allocations: 250.7 kB / 358.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.116, allocations: 196.8 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.116, allocations: 4 kB / 358.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1161, allocations: 34.56 kB / 358.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.1161, allocations: 0 / 358.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002476/0.1186, allocations: 0.5423 MB / 359.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.1187, allocations: 235.3 kB / 359.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1191, allocations: 207 kB / 359.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.1191, allocations: 29.7 kB / 359.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1193, allocations: 204.2 kB / 360.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1195, allocations: 110.4 kB / 360.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1197, allocations: 57.7 kB / 360.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1199, allocations: 334.8 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1202, allocations: 75.97 kB / 360.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1206, allocations: 168.7 kB / 360.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1212, allocations: 187.5 kB / 361 MB, free: 8.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1212, allocations: 4 kB / 361.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008149/0.1221, allocations: 273 kB / 361.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1221, allocations: 11.94 kB / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1221, allocations: 80 / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1221, allocations: 4 kB / 361.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.1228, allocations: 79.89 kB / 361.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.1228, allocations: 7.984 kB / 361.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.1231, allocations: 35.67 kB / 361.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1232, allocations: 12 kB / 361.5 MB, free: 8.445 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.0002282/0.1234, allocations: 149.8 kB / 361.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.1236, allocations: 35.66 kB / 361.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.1237, allocations: 34.58 kB / 361.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1237, allocations: 3.938 kB / 361.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1237, allocations: 4 kB / 361.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1237, allocations: 0 / 361.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.1256, allocations: 0.7711 MB / 362.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1256, allocations: 0 / 362.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.1261, allocations: 52 kB / 362.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.1267, allocations: 88.8 kB / 362.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.1267, allocations: 4 kB / 362.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.1301, allocations: 1.988 MB / 364.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1302, allocations: 4.172 kB / 364.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.1316, allocations: 0.4948 MB / 365.1 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1317, allocations: 108.8 kB / 365.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.1318, allocations: 8 kB / 365.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.1321, allocations: 8 kB / 365.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.1322, allocations: 31.89 kB / 365.2 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1322, allocations: 8 kB / 365.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1325, allocations: 152.5 kB / 365.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1325, allocations: 0 / 365.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006852/0.1332, allocations: 103.7 kB / 365.5 MB, free: 4.152 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.0001656/0.1333, allocations: 103.2 kB / 365.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007635/0.1341, allocations: 227.9 kB / 365.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1341, allocations: 0 / 365.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.1349, allocations: 274.5 kB / 366.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.1355, allocations: 31.98 kB / 366.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1379, allocations: 1.006 MB / 367.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.1384, allocations: 0.7831 MB / 367.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.1386, allocations: 25.92 kB / 367.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.1387, allocations: 23.44 kB / 368 MB, free: 1.617 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1387, allocations: 0 / 368 MB, free: 1.617 MB / 302.1 MB Notification: Performance of Templates: time 0.1416/0.2803, allocations: 3.057 MB / 371 MB, free: 24.93 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches