Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001334, allocations: 178.8 kB / 16.41 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007861, allocations: 96.91 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4329/0.4329, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004994, allocations: 12 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 58.86 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.2276/0.3559, allocations: 17.19 MB / 0.4955 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3669, allocations: 4.557 MB / 0.5 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.3716, allocations: 126.1 kB / 0.5001 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.3759, allocations: 0.8883 MB / 0.501 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008722/0.3847, allocations: 1.979 MB / 0.5029 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.3888, allocations: 0.9537 MB / 0.5038 GB, free: 33.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.4028, allocations: 11.8 MB / 0.5154 GB, free: 27.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03218/0.435, allocations: 21.34 MB / 0.5362 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008484/0.4435, allocations: 4.607 MB / 0.5407 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.4547, allocations: 5.296 MB / 0.5459 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003009/0.4577, allocations: 0.6866 MB / 0.5465 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00536/0.4631, allocations: 0.8607 MB / 0.5474 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.4655, allocations: 2.347 MB / 0.5497 GB, free: 12.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004924/0.4704, allocations: 2.362 MB / 0.552 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.4916, allocations: 19.84 MB / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4917, allocations: 0 / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4917, allocations: 0 / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007588/0.4925, allocations: 0 / 0.5714 GB, free: 8.332 MB / 394.7 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.03498/0.5275, allocations: 12.17 MB / 0.5832 GB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5275, allocations: 8.031 kB / 0.5832 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06355/0.5911, allocations: 12.48 MB / 0.5954 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.6049, allocations: 6.49 MB / 0.6018 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.606, allocations: 0.9042 MB / 0.6027 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/0.6106, allocations: 1.187 MB / 0.6038 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/0.6567, allocations: 18.96 MB / 0.6223 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005594/0.6573, allocations: 27.75 kB / 0.6224 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00379/0.6611, allocations: 0.496 MB / 0.6228 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008175/0.6619, allocations: 0.6856 MB / 0.6235 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04309/0.705, allocations: 19.74 MB / 0.6428 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/1.195, allocations: 62.36 MB / 0.7037 GB, free: 88.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/1.214, allocations: 20.13 MB / 0.7233 GB, free: 75.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007341/1.221, allocations: 4.599 MB / 0.7278 GB, free: 74.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/1.222, allocations: 241.8 kB / 0.7281 GB, free: 74.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.986e-05/1.222, allocations: 116.3 kB / 0.7282 GB, free: 74.06 MB / 490.8 MB Notification: Performance of pre-optimization done (n=674): time 7.645e-06/1.222, allocations: 0 / 0.7282 GB, free: 74.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=674): time 0.01967/1.242, allocations: 12.5 MB / 0.7404 GB, free: 69.38 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/1.242, allocations: 120.9 kB / 0.7405 GB, free: 69.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.254, allocations: 8.672 MB / 0.749 GB, free: 66.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.255, allocations: 138.2 kB / 0.7491 GB, free: 66.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/1.259, allocations: 4.607 MB / 0.7536 GB, free: 62.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002574/1.261, allocations: 2.259 MB / 0.7558 GB, free: 61.09 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/1.262, allocations: 161.9 kB / 0.756 GB, free: 60.96 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000378/1.262, allocations: 0.6306 MB / 0.7566 GB, free: 60.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00566/1.268, allocations: 4.169 MB / 0.7607 GB, free: 58.49 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008803/1.277, allocations: 7.208 MB / 0.7677 GB, free: 52.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009095/1.286, allocations: 5.726 MB / 0.7733 GB, free: 49.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/1.286, allocations: 30.34 kB / 0.7733 GB, free: 49.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02142/1.307, allocations: 12.35 MB / 0.7854 GB, free: 42.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/1.307, allocations: 48 kB / 0.7854 GB, free: 42.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/1.308, allocations: 96 kB / 0.7855 GB, free: 42.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.309, allocations: 437.5 kB / 0.7859 GB, free: 41.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00751/1.316, allocations: 2.098 MB / 0.788 GB, free: 39.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/1.321, allocations: 8.935 MB / 0.7967 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007736/1.329, allocations: 1.4 MB / 0.7981 GB, free: 28.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.331, allocations: 399.9 kB / 0.7984 GB, free: 27.97 MB / 490.8 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009422/1.34, allocations: 4.652 MB / 0.803 GB, free: 23.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/1.342, allocations: 0.7175 MB / 0.8037 GB, free: 22.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/1.36, allocations: 11.04 MB / 0.8145 GB, free: 11.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.36, allocations: 68 kB / 0.8145 GB, free: 11.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.36, allocations: 7.984 kB / 0.8145 GB, free: 11.36 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/1.36, allocations: 31.88 kB / 0.8146 GB, free: 11.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4161/1.776, allocations: 159.1 MB / 0.97 GB, free: 98.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00036/1.776, allocations: 88 kB / 0.9701 GB, free: 98.39 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00614/1.783, allocations: 1.575 MB / 0.9716 GB, free: 96.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/1.784, allocations: 402.3 kB / 0.972 GB, free: 96.42 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/1.785, allocations: 252 kB / 0.9722 GB, free: 96.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/1.79, allocations: 8.795 MB / 0.9808 GB, free: 86.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.969e-05/1.79, allocations: 135.4 kB / 0.981 GB, free: 86.57 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02321/1.813, allocations: 18.8 MB / 0.9993 GB, free: 66.04 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005326/1.819, allocations: 2.059 MB / 1.001 GB, free: 64.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002888/1.822, allocations: 251.8 kB / 1.002 GB, free: 63.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006858/1.828, allocations: 0.5737 MB / 1.002 GB, free: 63.21 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/1.83, allocations: 0.7345 MB / 1.003 GB, free: 62.47 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001351/1.832, allocations: 316 kB / 1.003 GB, free: 62.16 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01014/1.842, allocations: 6.054 MB / 1.009 GB, free: 56.12 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.41e-07/1.842, allocations: 0 / 1.009 GB, free: 56.12 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01086/1.853, allocations: 2.676 MB / 1.012 GB, free: 53.44 MB / 0.5262 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/1.855, allocations: 0.4957 MB / 1.012 GB, free: 52.94 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.87, allocations: 10.56 MB / 1.022 GB, free: 42.29 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.945e-05/1.871, allocations: 15.94 kB / 1.022 GB, free: 42.27 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.008056/1.879, allocations: 5.49 MB / 1.028 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01361/1.892, allocations: 1.496 MB / 1.029 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/1.938, allocations: 28.15 MB / 1.057 GB, free: 5.863 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/1.95, allocations: 7.628 MB / 1.064 GB, free: 14.19 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003814/1.953, allocations: 0.6478 MB / 1.065 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of SimCode: time 9.72e-07/1.953, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of Templates: time 1.269/3.223, allocations: 0.5413 GB / 1.606 GB, free: 84.23 MB / 0.5574 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches