Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007116/0.007116, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001339/0.001339, allocations: 193.4 kB / 16.79 MB, free: 6.242 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.934/1.934, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4197/0.4197, allocations: 43.5 MB / 313.5 MB, free: 8.457 MB / 254.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.001705/0.001705, allocations: 63.91 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.165, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.3146/0.4797, allocations: 19.55 MB / 459.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.492, allocations: 4.903 MB / 464.3 MB, free: 37.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.4975, allocations: 128.2 kB / 464.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01527/0.5128, allocations: 7.386 MB / 471.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009992/0.5228, allocations: 2.107 MB / 473.9 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.5272, allocations: 1.184 MB / 475.1 MB, free: 32.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.5402, allocations: 12.7 MB / 487.8 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03884/0.5791, allocations: 21.86 MB / 0.4977 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.5923, allocations: 5.774 MB / 0.5033 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/0.6109, allocations: 7.078 MB / 0.5102 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006202/0.6171, allocations: 1.234 MB / 0.5115 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009904/0.6271, allocations: 1.429 MB / 0.5128 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007457/0.6346, allocations: 3.176 MB / 0.5159 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01993/0.6545, allocations: 6.555 MB / 0.5223 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03303/0.6876, allocations: 23.16 MB / 0.545 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.6877, allocations: 4 kB / 0.545 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6877, allocations: 0 / 0.545 GB, free: 6.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008907/0.6886, allocations: 0 / 0.545 GB, free: 6.492 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: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05301/0.7416, allocations: 14.8 MB / 0.5594 GB, free: 7.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/0.7417, allocations: 12.03 kB / 0.5594 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06645/0.8082, allocations: 12.43 MB / 0.5716 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/0.8282, allocations: 6.582 MB / 0.578 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/0.8295, allocations: 0.8993 MB / 0.5789 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00741/0.837, allocations: 1.183 MB / 0.58 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05881/0.8958, allocations: 19.05 MB / 0.5986 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008509/0.8967, allocations: 23.75 kB / 0.5986 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005598/0.9023, allocations: 0.4921 MB / 0.5991 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009801/0.9033, allocations: 0.6934 MB / 0.5998 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05175/0.9551, allocations: 19.83 MB / 0.6192 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6681/1.623, allocations: 62.21 MB / 0.6799 GB, free: 79.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/1.649, allocations: 20.18 MB / 0.6996 GB, free: 65.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008516/1.657, allocations: 4.619 MB / 0.7041 GB, free: 62.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.658, allocations: 244.5 kB / 0.7044 GB, free: 62.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/1.659, allocations: 107.1 kB / 0.7045 GB, free: 62.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 2.457e-05/1.659, allocations: 1.969 kB / 0.7045 GB, free: 62.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02734/1.686, allocations: 12.54 MB / 0.7167 GB, free: 56.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/1.686, allocations: 120.5 kB / 0.7168 GB, free: 56.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02114/1.707, allocations: 8.717 MB / 0.7253 GB, free: 51.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002098/1.709, allocations: 137.7 kB / 0.7255 GB, free: 50.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00479/1.714, allocations: 4.609 MB / 0.73 GB, free: 46.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003665/1.718, allocations: 2.26 MB / 0.7322 GB, free: 44.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006471/1.724, allocations: 1.508 MB / 0.7337 GB, free: 42.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/1.724, allocations: 305.1 kB / 0.7339 GB, free: 42.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007654/1.732, allocations: 4.192 MB / 0.738 GB, free: 38.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00916/1.741, allocations: 7.23 MB / 0.7451 GB, free: 29.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/1.758, allocations: 12.4 MB / 0.7572 GB, free: 16.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/1.758, allocations: 28 kB / 0.7572 GB, free: 16.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02323/1.781, allocations: 12.4 MB / 0.7694 GB, free: 4.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/1.781, allocations: 48 kB / 0.7694 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/1.781, allocations: 96.84 kB / 0.7695 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.782, allocations: 420.9 kB / 0.7699 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007759/1.79, allocations: 2.1 MB / 0.7719 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/1.798, allocations: 8.945 MB / 0.7807 GB, free: 7.887 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/1.807, allocations: 1.4 MB / 0.782 GB, free: 6.473 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/1.81, allocations: 396 kB / 0.7824 GB, free: 6.086 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.01272/1.822, allocations: 4.659 MB / 0.787 GB, free: 1.414 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002624/1.825, allocations: 0.7136 MB / 0.7877 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/1.849, allocations: 11.07 MB / 0.7985 GB, free: 5.527 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001172/1.849, allocations: 68 kB / 0.7985 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-05/1.849, allocations: 0 / 0.7985 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001459/1.849, allocations: 35.88 kB / 0.7986 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5004/2.35, allocations: 159.2 MB / 0.954 GB, free: 97.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003023/2.35, allocations: 84 kB / 0.9541 GB, free: 97.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006763/2.357, allocations: 1.575 MB / 0.9557 GB, free: 95.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/2.358, allocations: 387.4 kB / 0.956 GB, free: 95.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.359, allocations: 253.2 kB / 0.9563 GB, free: 94.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005141/2.365, allocations: 8.806 MB / 0.9649 GB, free: 85.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/2.365, allocations: 135.4 kB / 0.965 GB, free: 85.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02597/2.391, allocations: 18.84 MB / 0.9834 GB, free: 64.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006486/2.397, allocations: 2.048 MB / 0.9854 GB, free: 62.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002908/2.4, allocations: 247.9 kB / 0.9856 GB, free: 62.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006764/2.407, allocations: 0.562 MB / 0.9862 GB, free: 61.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001801/2.409, allocations: 0.7419 MB / 0.9869 GB, free: 61.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007153/2.409, allocations: 312 kB / 0.9872 GB, free: 60.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.011/2.42, allocations: 6.121 MB / 0.9932 GB, free: 54.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.643e-06/2.42, allocations: 0 / 0.9932 GB, free: 54.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01362/2.434, allocations: 2.677 MB / 0.9958 GB, free: 52.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.003055/2.437, allocations: 0.4983 MB / 0.9963 GB, free: 51.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02067/2.458, allocations: 10.6 MB / 1.007 GB, free: 40.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 0.0001474/2.458, allocations: 16.06 kB / 1.007 GB, free: 40.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009486/2.468, allocations: 5.513 MB / 1.012 GB, free: 35.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01652/2.484, allocations: 1.466 MB / 1.013 GB, free: 33.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3896/2.874, allocations: 29.6 MB / 1.042 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/2.888, allocations: 7.885 MB / 1.05 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01113/2.899, allocations: 3.656 MB / 1.054 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/2.902, allocations: 0.5983 MB / 1.054 GB, free: 146.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.324e-06/2.902, allocations: 4.562 kB / 1.054 GB, free: 146.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1854/3.087, allocations: 101.5 MB / 1.153 GB, free: 87.78 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches