Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008943/0.0008943, allocations: 97.33 kB / 16.94 MB, free: 6.441 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.001029/0.001029, allocations: 187.8 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005155, allocations: 19.44 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1211, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002684/0.1238, allocations: 2.18 MB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1249, allocations: 0.7415 MB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1251, allocations: 8 kB / 331.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.1252, allocations: 47.61 kB / 331.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1254, allocations: 91.77 kB / 331.4 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1257, allocations: 91.83 kB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.126, allocations: 280 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1264, allocations: 162.3 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1265, allocations: 151.5 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1268, allocations: 167.2 kB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.1268, allocations: 24 kB / 332.2 MB, free: 156 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.1269, allocations: 24 kB / 332.3 MB, free: 132 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.127, allocations: 67.75 kB / 332.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.1271, allocations: 93.52 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1274, allocations: 379.1 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1274, allocations: 0 / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1274, allocations: 0 / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1275, allocations: 0 / 332.8 MB, free: 15.59 MB / 286.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.001001/0.1285, allocations: 0.6123 MB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1285, allocations: 8.031 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.1286, allocations: 51.44 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1289, allocations: 283 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.129, allocations: 29 kB / 333.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.1291, allocations: 40 kB / 333.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.1298, allocations: 447.2 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1298, allocations: 3.984 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.1299, allocations: 20 kB / 334.3 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1299, allocations: 8 kB / 334.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.1304, allocations: 283.9 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.1324, allocations: 1.31 MB / 335.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1328, allocations: 242.8 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1329, allocations: 4 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1329, allocations: 46.55 kB / 336.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.1329, allocations: 0 / 336.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001384/0.1343, allocations: 0.5548 MB / 336.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1344, allocations: 239.3 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1346, allocations: 206.8 kB / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1347, allocations: 33.7 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1348, allocations: 199.9 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.1349, allocations: 98.55 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.1349, allocations: 8 kB / 337.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.135, allocations: 330.8 kB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1352, allocations: 79.97 kB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1354, allocations: 159.3 kB / 338 MB, free: 9.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1356, allocations: 103.7 kB / 338.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1356, allocations: 4 kB / 338.1 MB, free: 9.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004218/0.136, allocations: 273.4 kB / 338.4 MB, free: 9.605 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.136, allocations: 4 kB / 338.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.136, allocations: 0 / 338.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1361, allocations: 7.953 kB / 338.4 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.1364, allocations: 87.83 kB / 338.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1364, allocations: 3.969 kB / 338.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1367, allocations: 43.58 kB / 338.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.1367, allocations: 12 kB / 338.6 MB, free: 9.449 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.1371, allocations: 153.8 kB / 338.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.1371, allocations: 19.81 kB / 338.7 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1372, allocations: 30.66 kB / 338.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1372, allocations: 4 kB / 338.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.1373, allocations: 11.95 kB / 338.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/0.1373, allocations: 7.969 kB / 338.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.1379, allocations: 401 kB / 339.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1379, allocations: 4 kB / 339.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.1382, allocations: 47.97 kB / 339.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/0.1386, allocations: 96.73 kB / 339.3 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1386, allocations: 4 kB / 339.3 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.1406, allocations: 1.863 MB / 341.2 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1406, allocations: 3.953 kB / 341.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.1414, allocations: 0.5085 MB / 341.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.1415, allocations: 100.8 kB / 341.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.1415, allocations: 12.06 kB / 341.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1417, allocations: 19.94 kB / 341.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.1418, allocations: 19.91 kB / 341.9 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1418, allocations: 12 kB / 341.9 MB, free: 5.914 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1419, allocations: 148.4 kB / 342 MB, free: 5.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1419, allocations: 0 / 342 MB, free: 5.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.1423, allocations: 107.6 kB / 342.1 MB, free: 5.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.1425, allocations: 103.2 kB / 342.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.1429, allocations: 223.9 kB / 342.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1429, allocations: 3.938 kB / 342.4 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.1434, allocations: 278.5 kB / 342.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1438, allocations: 24.06 kB / 342.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1453, allocations: 1.047 MB / 343.8 MB, free: 3.957 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1457, allocations: 0.795 MB / 344.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.673e-05/0.1458, allocations: 25.94 kB / 344.6 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.1459, allocations: 23.38 kB / 344.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1459, allocations: 0 / 344.6 MB, free: 3.082 MB / 286.1 MB Notification: Performance of Templates: time 0.006118/0.152, allocations: 2.621 MB / 347.2 MB, free: 472 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches