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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001577/0.001578, allocations: 194 kB / 18.12 MB, free: 5.363 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.375/1.375, allocations: 222.9 MB / 241.8 MB, free: 13.88 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.211/0.211, allocations: 44.16 MB / 336.1 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.16 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 60.82 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01934/0.1279, allocations: 19.41 MB / 488 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1383, allocations: 4.869 MB / 492.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.1419, allocations: 159.5 kB / 493.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0153/0.1573, allocations: 7.359 MB / 0.4887 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.1644, allocations: 2.035 MB / 0.4907 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.1678, allocations: 1.176 MB / 0.4918 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2019/0.3697, allocations: 12.43 MB / 0.504 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02962/0.3993, allocations: 21.84 MB / 0.5253 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007946/0.4073, allocations: 5.694 MB / 0.5308 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008697/0.4161, allocations: 6.969 MB / 0.5376 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003049/0.4191, allocations: 1.229 MB / 0.5388 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.4241, allocations: 1.419 MB / 0.5402 GB, free: 160 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.4297, allocations: 3.178 MB / 0.5433 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01216/0.4419, allocations: 6.461 MB / 0.5496 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0216/0.4635, allocations: 23.1 MB / 0.5722 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4635, allocations: 0 / 0.5722 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4635, allocations: 4 kB / 0.5722 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005127/0.4641, allocations: 0 / 0.5722 GB, free: 2.461 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.03838/0.5024, allocations: 14.56 MB / 0.5864 GB, free: 3.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5025, allocations: 12.03 kB / 0.5864 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004564/0.5071, allocations: 1.715 MB / 0.5881 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05991/0.567, allocations: 11.44 MB / 0.5993 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.5804, allocations: 7.084 MB / 0.6062 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006858/0.5811, allocations: 0.8903 MB / 0.6071 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.5845, allocations: 1.169 MB / 0.6082 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/0.624, allocations: 18.56 MB / 0.6263 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/0.6243, allocations: 15.81 kB / 0.6264 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.6262, allocations: 493.7 kB / 0.6268 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005666/0.6267, allocations: 0.6616 MB / 0.6275 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0346/0.6613, allocations: 19.08 MB / 0.6461 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4438/1.105, allocations: 60.66 MB / 0.7053 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.124, allocations: 16.61 MB / 0.7216 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/1.13, allocations: 4.519 MB / 0.726 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/1.13, allocations: 239 kB / 0.7262 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.13, allocations: 104.4 kB / 0.7263 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.546e-06/1.13, allocations: 0 / 0.7263 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01673/1.147, allocations: 12.35 MB / 0.7384 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/1.147, allocations: 123.4 kB / 0.7385 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.158, allocations: 8.608 MB / 0.7469 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008073/1.158, allocations: 132 kB / 0.747 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.161, allocations: 4.486 MB / 0.7514 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.162, allocations: 2.19 MB / 0.7535 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/1.164, allocations: 1.436 MB / 0.7549 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/1.164, allocations: 305.1 kB / 0.7552 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/1.169, allocations: 4.1 MB / 0.7592 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/1.174, allocations: 6.908 MB / 0.766 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/1.186, allocations: 11.94 MB / 0.7776 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.729e-05/1.186, allocations: 27.97 kB / 0.7777 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01754/1.204, allocations: 12.01 MB / 0.7894 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/1.204, allocations: 46.34 kB / 0.7894 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/1.204, allocations: 96.44 kB / 0.7895 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/1.205, allocations: 400.9 kB / 0.7899 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006553/1.211, allocations: 2.008 MB / 0.7919 GB, free: 99.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/1.216, allocations: 8.918 MB / 0.8006 GB, free: 89.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005889/1.222, allocations: 1.354 MB / 0.8019 GB, free: 88.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007036/1.223, allocations: 376 kB / 0.8023 GB, free: 87.87 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.005463/1.228, allocations: 4.579 MB / 0.8067 GB, free: 83.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009542/1.229, allocations: 0.702 MB / 0.8074 GB, free: 82.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.243, allocations: 10.61 MB / 0.8178 GB, free: 71.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/1.243, allocations: 69.97 kB / 0.8178 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.243, allocations: 0 / 0.8178 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/1.243, allocations: 35.88 kB / 0.8179 GB, free: 71.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3579/1.601, allocations: 156.6 MB / 0.9708 GB, free: 161.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/1.601, allocations: 84.31 kB / 0.9709 GB, free: 161.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005068/1.606, allocations: 1.548 MB / 0.9724 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008618/1.607, allocations: 382 kB / 0.9728 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006474/1.608, allocations: 245 kB / 0.973 GB, free: 161.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/1.612, allocations: 8.798 MB / 0.9816 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-05/1.612, allocations: 135.4 kB / 0.9817 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/1.635, allocations: 18.53 MB / 0.9998 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004278/1.639, allocations: 2.017 MB / 1.002 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.64, allocations: 243.9 kB / 1.002 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/1.645, allocations: 0.5541 MB / 1.003 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008942/1.645, allocations: 0.7302 MB / 1.003 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004132/1.646, allocations: 308 kB / 1.004 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007689/1.654, allocations: 6.047 MB / 1.009 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.452e-06/1.654, allocations: 0 / 1.009 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008009/1.662, allocations: 2.628 MB / 1.012 GB, free: 120.9 MB / 0.5607 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.02142/1.683, allocations: 19.42 MB / 1.031 GB, free: 99.43 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.698, allocations: 10.36 MB / 1.041 GB, free: 88.97 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.755e-05/1.698, allocations: 20.19 kB / 1.041 GB, free: 88.95 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/1.705, allocations: 5.434 MB / 1.046 GB, free: 83.45 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008727/1.714, allocations: 1.454 MB / 1.048 GB, free: 82.04 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3963/2.11, allocations: 147.3 MB / 1.192 GB, free: 149.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009519/2.12, allocations: 7.771 MB / 1.199 GB, free: 146.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00863/2.128, allocations: 3.567 MB / 1.203 GB, free: 146.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006008/2.134, allocations: 4.151 MB / 1.207 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.152e-06/2.134, allocations: 0 / 1.207 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4577/2.592, allocations: 190.5 MB / 1.393 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/2.592, allocations: 237.5 kB / 1.393 GB, free: 167 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.994/8.587, allocations: 1.125 kB / 1.393 GB, free: 167 MB / 0.5763 GB (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 --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) 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