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.001049/0.001049, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 61 kB / 306.3 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 50.54 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005232/0.1199, allocations: 2.883 MB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1218, allocations: 0.7518 MB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.122, allocations: 8 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1223, allocations: 47.61 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.1227, allocations: 83.36 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1231, allocations: 107.8 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.1238, allocations: 422.8 kB / 361.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.1242, allocations: 194 kB / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.1245, allocations: 175.4 kB / 361.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1249, allocations: 199.1 kB / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-05/0.125, allocations: 36 kB / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1251, allocations: 36 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1252, allocations: 91.67 kB / 361.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.1255, allocations: 207 kB / 362 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1261, allocations: 498.5 kB / 362.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1261, allocations: 4 kB / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1261, allocations: 0 / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1261, allocations: 0 / 362.5 MB, free: 8.535 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.001437/0.1276, allocations: 0.6904 MB / 363.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1276, allocations: 8.031 kB / 363.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.128, allocations: 56.45 kB / 363.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1284, allocations: 277.1 kB / 363.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1284, allocations: 33.38 kB / 363.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.1285, allocations: 44.28 kB / 363.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.1295, allocations: 459.6 kB / 364 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.1296, allocations: 3.984 kB / 364 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.1296, allocations: 16 kB / 364.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1296, allocations: 8 kB / 364.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.1304, allocations: 287.9 kB / 364.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.133, allocations: 1.307 MB / 365.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.1337, allocations: 238.7 kB / 365.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.1342, allocations: 205.9 kB / 366.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1342, allocations: 7.938 kB / 366.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.1343, allocations: 46.5 kB / 366.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.384e-06/0.1343, allocations: 0 / 366.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001961/0.1363, allocations: 0.5423 MB / 366.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1364, allocations: 235.3 kB / 366.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1367, allocations: 206.8 kB / 367.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.1368, allocations: 33.7 kB / 367.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1369, allocations: 200.2 kB / 367.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.137, allocations: 106.5 kB / 367.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1372, allocations: 57.7 kB / 367.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1373, allocations: 334.8 kB / 367.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.1376, allocations: 79.72 kB / 367.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1379, allocations: 156.5 kB / 368.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.1384, allocations: 203.2 kB / 368.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1385, allocations: 0 / 368.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006838/0.1392, allocations: 269.1 kB / 368.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.1392, allocations: 7.984 kB / 368.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1392, allocations: 4 kB / 368.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1392, allocations: 0 / 368.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.1397, allocations: 87.95 kB / 368.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1398, allocations: 0 / 368.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.14, allocations: 31.69 kB / 368.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.14, allocations: 12 kB / 368.7 MB, free: 1.965 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.0001978/0.1402, allocations: 153.8 kB / 368.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.1403, allocations: 27.66 kB / 368.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.1404, allocations: 34.58 kB / 368.9 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1404, allocations: 4 kB / 368.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1405, allocations: 4 kB / 368.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1405, allocations: 3.984 kB / 368.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.142, allocations: 0.7673 MB / 369.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.142, allocations: 3.938 kB / 369.7 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.1424, allocations: 51.97 kB / 369.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.1428, allocations: 88.83 kB / 369.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.1428, allocations: 8 kB / 369.8 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1926/0.3355, allocations: 1.828 MB / 371.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3355, allocations: 0.75 kB / 371.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3367, allocations: 0.5019 MB / 372.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.3368, allocations: 103.2 kB / 372.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.3369, allocations: 9.594 kB / 372.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.3372, allocations: 11.53 kB / 372.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.3373, allocations: 23.52 kB / 372.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3373, allocations: 6.531 kB / 372.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3375, allocations: 155.3 kB / 372.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3375, allocations: 0 / 372.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006659/0.3382, allocations: 104.7 kB / 372.5 MB, free: 18.52 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.0001362/0.3383, allocations: 110.3 kB / 372.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.339, allocations: 208.3 kB / 372.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.339, allocations: 1.281 kB / 372.9 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.3396, allocations: 275.8 kB / 373.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.3403, allocations: 40.45 kB / 373.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3423, allocations: 0.9979 MB / 374.2 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3426, allocations: 0.7857 MB / 374.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3428, allocations: 28.69 kB / 375 MB, free: 17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.3429, allocations: 21.27 kB / 375 MB, free: 16.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3429, allocations: 0 / 375 MB, free: 16.99 MB / 302.1 MB Notification: Performance of Templates: time 0.01112/0.354, allocations: 2.922 MB / 377.9 MB, free: 16.79 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.0.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