Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001034/0.001034, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.304/1.304, allocations: 222.9 MB / 242.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 44.18 MB / 336.9 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.92 kB / 408.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 60.84 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02023/0.128, allocations: 19.39 MB / 488.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1394, allocations: 4.846 MB / 493.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004505/0.144, allocations: 155.4 kB / 493.8 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01671/0.1608, allocations: 7.374 MB / 0.4894 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.1689, allocations: 2.017 MB / 0.4914 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.1732, allocations: 1.147 MB / 0.4925 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2447/0.4179, allocations: 12.07 MB / 0.5043 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03617/0.4541, allocations: 30.13 MB / 0.5337 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007533/0.4617, allocations: 6.581 MB / 0.5401 GB, free: 376 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.4725, allocations: 7.363 MB / 0.5473 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004497/0.477, allocations: 1.719 MB / 0.549 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00706/0.4841, allocations: 1.904 MB / 0.5509 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005849/0.49, allocations: 3.66 MB / 0.5544 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01391/0.5039, allocations: 7.238 MB / 0.5615 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.5255, allocations: 20.53 MB / 0.5816 GB, free: 9.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5256, allocations: 0 / 0.5816 GB, free: 9.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5256, allocations: 0 / 0.5816 GB, free: 9.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006845/0.5263, allocations: 0 / 0.5816 GB, free: 9.762 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03778/0.5641, allocations: 14.56 MB / 0.5958 GB, free: 11.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5641, allocations: 11.97 kB / 0.5958 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05772/0.6219, allocations: 11.43 MB / 0.607 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.6361, allocations: 7.092 MB / 0.6139 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008544/0.637, allocations: 0.8855 MB / 0.6147 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/0.6413, allocations: 1.169 MB / 0.6159 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04262/0.6839, allocations: 18.56 MB / 0.634 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003963/0.6843, allocations: 23.8 kB / 0.634 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003501/0.6879, allocations: 489.8 kB / 0.6345 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006893/0.6886, allocations: 0.6577 MB / 0.6351 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03983/0.7284, allocations: 19.08 MB / 0.6538 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5152/1.244, allocations: 60.65 MB / 0.713 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.262, allocations: 16.61 MB / 0.7292 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006699/1.269, allocations: 4.516 MB / 0.7336 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/1.269, allocations: 239.5 kB / 0.7339 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/1.269, allocations: 103.8 kB / 0.734 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.186e-06/1.269, allocations: 3.344 kB / 0.734 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01944/1.289, allocations: 12.35 MB / 0.746 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.289, allocations: 116.9 kB / 0.7461 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/1.302, allocations: 8.609 MB / 0.7545 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.303, allocations: 132.6 kB / 0.7547 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.306, allocations: 4.488 MB / 0.759 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002869/1.309, allocations: 2.187 MB / 0.7612 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/1.311, allocations: 1.441 MB / 0.7626 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/1.311, allocations: 301.1 kB / 0.7629 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005209/1.317, allocations: 4.102 MB / 0.7669 GB, free: 121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006921/1.323, allocations: 6.906 MB / 0.7736 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.336, allocations: 11.94 MB / 0.7853 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.336, allocations: 30.47 kB / 0.7853 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01813/1.354, allocations: 12 MB / 0.797 GB, free: 94.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/1.354, allocations: 44 kB / 0.7971 GB, free: 94.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/1.355, allocations: 92 kB / 0.7972 GB, free: 94.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/1.355, allocations: 412.8 kB / 0.7976 GB, free: 94.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006983/1.362, allocations: 2.01 MB / 0.7995 GB, free: 92.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/1.368, allocations: 9.578 MB / 0.8089 GB, free: 81.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/1.375, allocations: 1.354 MB / 0.8102 GB, free: 80.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.377, allocations: 372 kB / 0.8106 GB, free: 80.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007858/1.385, allocations: 4.579 MB / 0.815 GB, free: 75.67 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.386, allocations: 0.7059 MB / 0.8157 GB, free: 74.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.4, allocations: 10.61 MB / 0.8261 GB, free: 64.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.4, allocations: 64 kB / 0.8261 GB, free: 64.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.4, allocations: 8 kB / 0.8261 GB, free: 64.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.519e-05/1.4, allocations: 35.88 kB / 0.8262 GB, free: 64.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3766/1.777, allocations: 156.6 MB / 0.9791 GB, free: 158 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001931/1.777, allocations: 84 kB / 0.9792 GB, free: 158 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005476/1.783, allocations: 1.548 MB / 0.9807 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008474/1.784, allocations: 378.8 kB / 0.9811 GB, free: 156 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/1.785, allocations: 252 kB / 0.9813 GB, free: 155.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005006/1.79, allocations: 9.461 MB / 0.9905 GB, free: 145.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.635e-05/1.79, allocations: 139.4 kB / 0.9907 GB, free: 145.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.809, allocations: 18.53 MB / 1.009 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/1.814, allocations: 2.007 MB / 1.011 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/1.816, allocations: 239.9 kB / 1.011 GB, free: 123 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005911/1.822, allocations: 0.5541 MB / 1.011 GB, free: 122.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/1.823, allocations: 0.734 MB / 1.012 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005693/1.824, allocations: 308 kB / 1.013 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009048/1.833, allocations: 6.047 MB / 1.018 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.3e-07/1.833, allocations: 0 / 1.018 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00959/1.843, allocations: 2.617 MB / 1.021 GB, free: 112.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * 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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/1.844, allocations: 499.4 kB / 1.021 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02723/1.872, allocations: 16.71 MB / 1.038 GB, free: 95.58 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.686e-05/1.872, allocations: 12 kB / 1.038 GB, free: 95.57 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007569/1.879, allocations: 5.441 MB / 1.043 GB, free: 90.07 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/1.891, allocations: 1.492 MB / 1.045 GB, free: 88.62 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/1.93, allocations: 28.63 MB / 1.073 GB, free: 58.76 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007364/1.938, allocations: 7.525 MB / 1.08 GB, free: 51.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00326/1.941, allocations: 0.6243 MB / 1.08 GB, free: 50.57 MB / 0.5607 GB Notification: Performance of SimCode: time 1.192e-06/1.941, allocations: 4 kB / 1.08 GB, free: 50.57 MB / 0.5607 GB Notification: Performance of Templates: time 1.271/3.212, allocations: 0.5356 GB / 1.616 GB, free: 153.4 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches