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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8983/0.8983, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2756/0.2756, allocations: 32.78 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.582e-05, allocations: 4.109 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1992/0.1993, allocations: 17 MB / 456.6 MB, free: 36.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2094, allocations: 4.852 MB / 461.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004954/0.2144, allocations: 193.3 kB / 461.6 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008318/0.2227, allocations: 7.678 MB / 469.3 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007591/0.2303, allocations: 2.135 MB / 471.4 MB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.2336, allocations: 1.381 MB / 472.8 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.2438, allocations: 12.62 MB / 485.4 MB, free: 20.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0246/0.2684, allocations: 16.78 MB / 0.4904 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01934/0.2878, allocations: 9.737 MB / 0.4999 GB, free: 6.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0152/0.303, allocations: 6.519 MB / 0.5063 GB, free: 3.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006036/0.309, allocations: 1.718 MB / 0.508 GB, free: 2.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00848/0.3175, allocations: 1.924 MB / 0.5099 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008224/0.3257, allocations: 3.738 MB / 0.5135 GB, free: 13.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01488/0.3406, allocations: 4.707 MB / 0.5181 GB, free: 9.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.367, allocations: 23.9 MB / 0.5415 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.367, allocations: 0 / 0.5415 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.367, allocations: 0 / 0.5415 GB, free: 1.926 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008186/0.3678, allocations: 0 / 0.5415 GB, free: 1.926 MB / 442.7 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.03492/0.4028, allocations: 14.63 MB / 0.5557 GB, free: 3.191 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.4028, allocations: 8.031 kB / 0.5558 GB, free: 3.184 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005239/0.4081, allocations: 1.731 MB / 0.5574 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0302/0.4383, allocations: 11.17 MB / 0.5684 GB, free: 6.246 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.451, allocations: 7.502 MB / 0.5757 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/0.4517, allocations: 0.8911 MB / 0.5766 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004415/0.4561, allocations: 1.168 MB / 0.5777 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/0.4976, allocations: 19.14 MB / 0.5964 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003976/0.498, allocations: 23.89 kB / 0.5964 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004007/0.502, allocations: 496 kB / 0.5969 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005011/0.5025, allocations: 0.6499 MB / 0.5975 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03483/0.5373, allocations: 19.05 MB / 0.6161 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4287/0.966, allocations: 55.06 MB / 0.6699 GB, free: 107.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.9793, allocations: 10.63 MB / 0.6803 GB, free: 103.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/0.9848, allocations: 4.219 MB / 0.6844 GB, free: 102 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.9852, allocations: 183.5 kB / 0.6846 GB, free: 102 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.9853, allocations: 104.3 kB / 0.6847 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=653): time 7.815e-06/0.9853, allocations: 0 / 0.6847 GB, free: 101.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=653): time 0.01569/1.001, allocations: 12.02 MB / 0.6964 GB, free: 97.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.001, allocations: 116 kB / 0.6965 GB, free: 97.73 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009946/1.011, allocations: 8.734 MB / 0.705 GB, free: 94.91 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.012, allocations: 129 kB / 0.7052 GB, free: 94.8 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001966/1.014, allocations: 4.591 MB / 0.7097 GB, free: 91.81 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001999/1.016, allocations: 2.266 MB / 0.7119 GB, free: 90.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.018, allocations: 1.46 MB / 0.7133 GB, free: 89.64 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.393e-05/1.018, allocations: 301.1 kB / 0.7136 GB, free: 89.34 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/1.022, allocations: 4.12 MB / 0.7176 GB, free: 88.02 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/1.028, allocations: 6.914 MB / 0.7244 GB, free: 83.16 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.038, allocations: 11.98 MB / 0.7361 GB, free: 74.97 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.912e-05/1.039, allocations: 26.69 kB / 0.7361 GB, free: 74.97 MB / 0.5262 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01421/1.053, allocations: 12.1 MB / 0.7479 GB, free: 64.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/1.053, allocations: 48 kB / 0.7479 GB, free: 64.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.053, allocations: 92 kB / 0.748 GB, free: 64.56 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/1.054, allocations: 412.8 kB / 0.7484 GB, free: 64.14 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.058, allocations: 2.016 MB / 0.7504 GB, free: 62.12 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/1.061, allocations: 8.927 MB / 0.7591 GB, free: 52.51 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/1.066, allocations: 1.377 MB / 0.7605 GB, free: 51.24 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.068, allocations: 387.9 kB / 0.7608 GB, free: 50.86 MB / 0.5262 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.005656/1.073, allocations: 4.586 MB / 0.7653 GB, free: 46.26 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009405/1.074, allocations: 0.7335 MB / 0.766 GB, free: 45.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.085, allocations: 10.6 MB / 0.7764 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.085, allocations: 64 kB / 0.7764 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.085, allocations: 11.88 kB / 0.7765 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/1.085, allocations: 31.88 kB / 0.7765 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3429/1.428, allocations: 151.4 MB / 0.9243 GB, free: 144 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001213/1.428, allocations: 87.5 kB / 0.9244 GB, free: 144 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003413/1.431, allocations: 1.553 MB / 0.9259 GB, free: 143.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/1.432, allocations: 385.9 kB / 0.9263 GB, free: 143.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004287/1.432, allocations: 254.7 kB / 0.9265 GB, free: 143.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/1.435, allocations: 8.802 MB / 0.9351 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/1.435, allocations: 137.4 kB / 0.9353 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.451, allocations: 18.47 MB / 0.9533 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004471/1.455, allocations: 2.076 MB / 0.9553 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.457, allocations: 239.9 kB / 0.9556 GB, free: 115.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/1.46, allocations: 0.5463 MB / 0.9561 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/1.461, allocations: 0.7689 MB / 0.9568 GB, free: 114.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000429/1.462, allocations: 319.9 kB / 0.9572 GB, free: 114.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00695/1.469, allocations: 6.051 MB / 0.9631 GB, free: 108.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/1.469, allocations: 0 / 0.9631 GB, free: 108.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009371/1.478, allocations: 2.64 MB / 0.9656 GB, free: 105.8 MB / 0.573 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.015/1.493, allocations: 19.38 MB / 0.9846 GB, free: 84.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.504, allocations: 10.33 MB / 0.9946 GB, free: 74.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.025e-05/1.504, allocations: 12 kB / 0.9947 GB, free: 74.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005603/1.509, allocations: 5.285 MB / 0.9998 GB, free: 68.67 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008503/1.518, allocations: 1.488 MB / 1.001 GB, free: 67.24 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3364/1.854, allocations: 99.61 MB / 1.099 GB, free: 156.8 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008037/1.862, allocations: 7.349 MB / 1.106 GB, free: 156.2 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.00716/1.869, allocations: 3.566 MB / 1.109 GB, free: 156 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006146/1.875, allocations: 4.206 MB / 1.113 GB, free: 153.6 MB / 0.5887 GB Notification: Performance of SimCode: time 1.493e-06/1.875, allocations: 0 / 1.113 GB, free: 153.6 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3801/2.256, allocations: 195.8 MB / 1.305 GB, free: 129.7 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/18.19, allocations: 0.9375 kB / 1.305 GB, free: 129.7 MB / 0.5887 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.35387711133808]