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.0008197/0.0008199, allocations: 90.98 kB / 18 MB, free: 5.613 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.000933/0.000933, allocations: 169.4 kB / 18.9 MB, free: 4.746 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.502/1.502, allocations: 223.3 MB / 243 MB, free: 14.36 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.1946/0.1946, allocations: 44.24 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003467, allocations: 8.719 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01897/0.1522, allocations: 18.44 MB / 491.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1637, allocations: 4.83 MB / 496.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004955/0.1687, allocations: 147.5 kB / 496.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.1731, allocations: 1.225 MB / 497.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007964/0.1811, allocations: 2.017 MB / 499.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.1855, allocations: 1.165 MB / 0.489 GB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.2018, allocations: 12.43 MB / 0.5011 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3284/0.5303, allocations: 25.38 MB / 0.5259 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008636/0.5389, allocations: 4.551 MB / 0.5304 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009922/0.5489, allocations: 5.475 MB / 0.5357 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003322/0.5523, allocations: 0.6804 MB / 0.5364 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007393/0.5597, allocations: 0.8711 MB / 0.5372 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004985/0.5647, allocations: 2.327 MB / 0.5395 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.5763, allocations: 5.564 MB / 0.5449 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02338/0.5997, allocations: 19.83 MB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5998, allocations: 0 / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5998, allocations: 0 / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008614/0.6007, allocations: 0 / 0.5643 GB, free: 15.98 MB / 414.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.04031/0.641, allocations: 11.86 MB / 0.5759 GB, free: 4.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6411, allocations: 8.031 kB / 0.5759 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06139/0.7025, allocations: 11.49 MB / 0.5871 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/0.7207, allocations: 7.091 MB / 0.594 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/0.7219, allocations: 0.8825 MB / 0.5949 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005332/0.7273, allocations: 1.171 MB / 0.596 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0491/0.7764, allocations: 18.57 MB / 0.6142 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006562/0.7771, allocations: 15.81 kB / 0.6142 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004349/0.7814, allocations: 496.9 kB / 0.6147 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007987/0.7823, allocations: 0.6577 MB / 0.6153 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04765/0.8299, allocations: 19.09 MB / 0.6339 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1187/0.9487, allocations: 60.85 MB / 0.6934 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5182/1.467, allocations: 16.59 MB / 0.7096 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/1.477, allocations: 4.523 MB / 0.714 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/1.478, allocations: 234.9 kB / 0.7142 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/1.479, allocations: 113.1 kB / 0.7143 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.446e-06/1.479, allocations: 0 / 0.7143 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02545/1.504, allocations: 12.37 MB / 0.7264 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/1.504, allocations: 119.7 kB / 0.7265 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01516/1.519, allocations: 8.607 MB / 0.7349 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/1.521, allocations: 133 kB / 0.735 GB, free: 148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003483/1.524, allocations: 4.498 MB / 0.7394 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/1.527, allocations: 2.183 MB / 0.7416 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000962/1.528, allocations: 0.5966 MB / 0.7422 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/1.528, allocations: 304.6 kB / 0.7424 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005879/1.534, allocations: 4.107 MB / 0.7465 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007198/1.541, allocations: 6.915 MB / 0.7532 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/1.556, allocations: 11.95 MB / 0.7649 GB, free: 129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.556, allocations: 22.81 kB / 0.7649 GB, free: 129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0204/1.576, allocations: 12.02 MB / 0.7766 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/1.576, allocations: 44 kB / 0.7767 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.577, allocations: 92.41 kB / 0.7768 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008559/1.577, allocations: 414.2 kB / 0.7772 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007295/1.585, allocations: 2.001 MB / 0.7791 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005402/1.59, allocations: 8.919 MB / 0.7878 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008209/1.598, allocations: 1.355 MB / 0.7891 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/1.6, allocations: 372 kB / 0.7895 GB, free: 107.5 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.01262/1.613, allocations: 4.586 MB / 0.794 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/1.615, allocations: 0.702 MB / 0.7947 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.631, allocations: 10.61 MB / 0.805 GB, free: 91.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/1.631, allocations: 68 kB / 0.8051 GB, free: 91.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.631, allocations: 7.984 kB / 0.8051 GB, free: 91.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/1.631, allocations: 35.81 kB / 0.8051 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4908/2.122, allocations: 156.6 MB / 0.9581 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004213/2.122, allocations: 89.06 kB / 0.9582 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006234/2.129, allocations: 1.539 MB / 0.9597 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/2.13, allocations: 381.4 kB / 0.96 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/2.131, allocations: 243.8 kB / 0.9603 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/2.137, allocations: 8.797 MB / 0.9689 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.728e-05/2.137, allocations: 141.5 kB / 0.969 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02441/2.161, allocations: 18.54 MB / 0.9871 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005385/2.166, allocations: 2.02 MB / 0.9891 GB, free: 118.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002578/2.169, allocations: 243.9 kB / 0.9893 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006288/2.175, allocations: 0.5659 MB / 0.9899 GB, free: 118 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001495/2.177, allocations: 0.734 MB / 0.9906 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009491/2.178, allocations: 306.9 kB / 0.9909 GB, free: 117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0109/2.189, allocations: 6.051 MB / 0.9968 GB, free: 111 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.42e-07/2.189, allocations: 0 / 0.9968 GB, free: 111 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0113/2.2, allocations: 2.613 MB / 0.9993 GB, free: 108.4 MB / 0.545 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.002262/2.202, allocations: 498.3 kB / 0.9998 GB, free: 107.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0172/2.22, allocations: 10.39 MB / 1.01 GB, free: 97.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.116e-05/2.22, allocations: 16 kB / 1.01 GB, free: 97.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008584/2.228, allocations: 5.441 MB / 1.015 GB, free: 91.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08486/2.313, allocations: 1.488 MB / 1.017 GB, free: 90.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/2.36, allocations: 28.67 MB / 1.045 GB, free: 60.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01284/2.373, allocations: 7.525 MB / 1.052 GB, free: 52.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003949/2.377, allocations: 0.6361 MB / 1.053 GB, free: 52.29 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/2.377, allocations: 0 / 1.053 GB, free: 52.29 MB / 0.545 GB Notification: Performance of Templates: time 1.452/3.829, allocations: 0.5341 GB / 1.587 GB, free: 180.6 MB / 0.5919 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