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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002988/0.002988, allocations: 67.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1082, allocations: 53.31 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004264/0.1124, allocations: 2.86 MB / 430.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.114, allocations: 0.7634 MB / 431.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1142, allocations: 4 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1143, allocations: 71.3 kB / 431.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1146, allocations: 103 kB / 431.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.115, allocations: 119.8 kB / 431.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.1156, allocations: 446.8 kB / 432.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1766/0.2921, allocations: 160.9 kB / 432.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.2926, allocations: 179.2 kB / 432.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.2929, allocations: 207.9 kB / 432.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.2929, allocations: 45.84 kB / 432.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2931, allocations: 54.89 kB / 432.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.2931, allocations: 101.6 kB / 432.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.2933, allocations: 220.4 kB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.2938, allocations: 0.5018 MB / 433.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2938, allocations: 0.5312 kB / 433.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2938, allocations: 3.062 kB / 433.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.2938, allocations: 0 / 433.6 MB, free: 8.008 MB / 350.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.0009427/0.2947, allocations: 0.6985 MB / 434.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2948, allocations: 9.75 kB / 434.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.295, allocations: 65.09 kB / 434.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2952, allocations: 279.3 kB / 434.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2953, allocations: 30.41 kB / 434.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.2953, allocations: 49.55 kB / 434.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.2959, allocations: 450.2 kB / 435.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.296, allocations: 5.5 kB / 435.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.296, allocations: 17.12 kB / 435.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.296, allocations: 10.38 kB / 435.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.2965, allocations: 285.8 kB / 435.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2982, allocations: 1.304 MB / 436.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.2986, allocations: 221.5 kB / 437 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.2989, allocations: 173.2 kB / 437.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.2989, allocations: 8.219 kB / 437.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.299, allocations: 37.94 kB / 437.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.299, allocations: 0 / 437.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001354/0.3003, allocations: 0.5452 MB / 437.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3004, allocations: 237.3 kB / 438 MB, free: 6.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3005, allocations: 210.5 kB / 438.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3006, allocations: 35.55 kB / 438.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.3007, allocations: 204.1 kB / 438.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.3007, allocations: 109 kB / 438.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.3008, allocations: 59.91 kB / 438.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.3009, allocations: 335.1 kB / 438.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.301, allocations: 76.66 kB / 439 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3012, allocations: 158.2 kB / 439.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3015, allocations: 195.3 kB / 439.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3015, allocations: 0 / 439.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004449/0.3019, allocations: 284.5 kB / 439.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.302, allocations: 4.938 kB / 439.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.302, allocations: 1.25 kB / 439.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.302, allocations: 3.641 kB / 439.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.3023, allocations: 82.11 kB / 439.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3023, allocations: 2.266 kB / 439.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3025, allocations: 35.23 kB / 439.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3025, allocations: 8.672 kB / 439.8 MB, free: 5.027 MB / 350.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.0001191/0.3026, allocations: 158.5 kB / 439.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.3027, allocations: 29 kB / 440 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.3028, allocations: 36.69 kB / 440 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3028, allocations: 3.375 kB / 440 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3028, allocations: 1.641 kB / 440 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3028, allocations: 2.625 kB / 440 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.3038, allocations: 0.7656 MB / 440.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3038, allocations: 2.344 kB / 440.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.304, allocations: 47.11 kB / 440.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.3043, allocations: 89.89 kB / 440.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3044, allocations: 6.078 kB / 440.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.306, allocations: 1.983 MB / 442.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.306, allocations: 5 kB / 442.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.3067, allocations: 0.493 MB / 443.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3067, allocations: 102.5 kB / 443.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3067, allocations: 7.984 kB / 443.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3069, allocations: 11.12 kB / 443.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.307, allocations: 31.98 kB / 443.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.307, allocations: 6.641 kB / 443.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3071, allocations: 154.8 kB / 443.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3071, allocations: 0 / 443.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.3075, allocations: 109.3 kB / 443.8 MB, free: 2.07 MB / 350.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.0001039/0.3076, allocations: 104 kB / 443.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.308, allocations: 207.3 kB / 444.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.308, allocations: 4.469 kB / 444.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.3085, allocations: 261.9 kB / 444.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3089, allocations: 31.53 kB / 444.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.31, allocations: 0.8893 MB / 445.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3102, allocations: 0.7852 MB / 446.1 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.3103, allocations: 22.11 kB / 446.1 MB, free: 444 kB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3103, allocations: 0 / 446.1 MB, free: 444 kB / 350.1 MB Notification: Performance of Templates: time 0.006696/0.317, allocations: 4.072 MB / 450.2 MB, free: 92 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.409665806917474]