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.001137/0.001137, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001022/0.001022, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.33/1.33, allocations: 222.9 MB / 243 MB, free: 15.16 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.2157/0.2157, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 65.73 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01824/0.1231, allocations: 19.74 MB / 490.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1339, allocations: 4.904 MB / 495.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.1375, allocations: 171.4 kB / 495.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01678/0.1544, allocations: 7.764 MB / 0.4915 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.1627, allocations: 2.19 MB / 0.4936 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.1666, allocations: 1.264 MB / 0.4949 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3911/0.5577, allocations: 12.15 MB / 0.5067 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03159/0.5894, allocations: 26.07 MB / 0.5322 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007643/0.597, allocations: 6.511 MB / 0.5385 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01204/0.6091, allocations: 7.285 MB / 0.5456 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00538/0.6145, allocations: 1.719 MB / 0.5473 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007366/0.6219, allocations: 1.913 MB / 0.5492 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006115/0.6281, allocations: 3.645 MB / 0.5528 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01335/0.6414, allocations: 7.013 MB / 0.5596 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02114/0.6626, allocations: 23.61 MB / 0.5827 GB, free: 9.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6626, allocations: 0 / 0.5827 GB, free: 9.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6626, allocations: 0 / 0.5827 GB, free: 9.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004993/0.6631, allocations: 0 / 0.5827 GB, free: 9.145 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.04309/0.7062, allocations: 14.56 MB / 0.5969 GB, free: 10.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7063, allocations: 12.03 kB / 0.5969 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06017/0.7665, allocations: 11.43 MB / 0.6081 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/0.7859, allocations: 7.326 MB / 0.6152 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009602/0.7869, allocations: 0.8842 MB / 0.6161 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004579/0.7915, allocations: 1.174 MB / 0.6172 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05006/0.8416, allocations: 18.56 MB / 0.6353 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001056/0.8427, allocations: 11.91 kB / 0.6354 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005463/0.8482, allocations: 497.1 kB / 0.6358 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/0.8493, allocations: 0.6616 MB / 0.6365 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04276/0.8921, allocations: 19.07 MB / 0.6551 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3823/1.274, allocations: 59.97 MB / 0.7137 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/1.295, allocations: 16.6 MB / 0.7299 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00668/1.301, allocations: 4.521 MB / 0.7343 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/1.302, allocations: 236.6 kB / 0.7345 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.371e-05/1.302, allocations: 107.5 kB / 0.7346 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.726e-06/1.302, allocations: 0.9062 kB / 0.7346 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01668/1.319, allocations: 12.35 MB / 0.7467 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.319, allocations: 119.9 kB / 0.7468 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.331, allocations: 8.601 MB / 0.7552 GB, free: 131 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/1.332, allocations: 131.7 kB / 0.7553 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.335, allocations: 4.488 MB / 0.7597 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/1.337, allocations: 2.196 MB / 0.7619 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/1.339, allocations: 1.434 MB / 0.7633 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.717e-05/1.339, allocations: 304.9 kB / 0.7635 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/1.344, allocations: 4.106 MB / 0.7676 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/1.35, allocations: 6.91 MB / 0.7743 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/1.364, allocations: 11.94 MB / 0.786 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/1.364, allocations: 26.72 kB / 0.786 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0184/1.383, allocations: 12 MB / 0.7977 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/1.383, allocations: 51.44 kB / 0.7977 GB, free: 97.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/1.383, allocations: 88 kB / 0.7978 GB, free: 97.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008975/1.384, allocations: 416.8 kB / 0.7982 GB, free: 97.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006849/1.391, allocations: 2.004 MB / 0.8002 GB, free: 95.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/1.396, allocations: 9.577 MB / 0.8095 GB, free: 84.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007668/1.404, allocations: 1.354 MB / 0.8109 GB, free: 83.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.405, allocations: 372 kB / 0.8112 GB, free: 82.9 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.007924/1.413, allocations: 4.578 MB / 0.8157 GB, free: 78.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.414, allocations: 0.7021 MB / 0.8164 GB, free: 77.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.429, allocations: 10.61 MB / 0.8267 GB, free: 66.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/1.429, allocations: 64 kB / 0.8268 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/1.429, allocations: 4 kB / 0.8268 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/1.429, allocations: 35.86 kB / 0.8268 GB, free: 66.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4073/1.836, allocations: 156.5 MB / 0.9797 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003562/1.837, allocations: 84 kB / 0.9797 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00592/1.842, allocations: 1.544 MB / 0.9812 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/1.843, allocations: 380 kB / 0.9816 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001309/1.845, allocations: 244 kB / 0.9818 GB, free: 129.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/1.85, allocations: 9.457 MB / 0.9911 GB, free: 119.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.696e-05/1.85, allocations: 135.4 kB / 0.9912 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02349/1.873, allocations: 18.53 MB / 1.009 GB, free: 98.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006105/1.88, allocations: 2.012 MB / 1.011 GB, free: 97.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002702/1.882, allocations: 247 kB / 1.012 GB, free: 96.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006223/1.889, allocations: 0.558 MB / 1.012 GB, free: 96.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/1.89, allocations: 0.731 MB / 1.013 GB, free: 95.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/1.891, allocations: 308 kB / 1.013 GB, free: 95.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01067/1.902, allocations: 6.047 MB / 1.019 GB, free: 89.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.71e-07/1.902, allocations: 0 / 1.019 GB, free: 89.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01095/1.913, allocations: 2.621 MB / 1.022 GB, free: 86.52 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.002037/1.915, allocations: 496.4 kB / 1.022 GB, free: 86.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.016/1.931, allocations: 10.6 MB / 1.032 GB, free: 75.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.934e-05/1.931, allocations: 12 kB / 1.032 GB, free: 75.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008184/1.939, allocations: 5.443 MB / 1.038 GB, free: 69.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01369/1.953, allocations: 1.502 MB / 1.039 GB, free: 68.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04381/1.997, allocations: 24.62 MB / 1.063 GB, free: 42.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008614/2.006, allocations: 7.773 MB / 1.071 GB, free: 34.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007969/2.014, allocations: 3.562 MB / 1.074 GB, free: 31.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/2.016, allocations: 0.5814 MB / 1.075 GB, free: 30.57 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/2.016, allocations: 0 / 1.075 GB, free: 30.57 MB / 0.545 GB Notification: Performance of Templates: time 0.4169/2.433, allocations: 93.5 MB / 1.166 GB, free: 142.8 MB / 0.5607 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 -s gbode -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