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.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.001831/0.001831, allocations: 109 kB / 20.48 MB, free: 1.477 MB / 14.72 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.002628/0.002628, allocations: 209.7 kB / 23.79 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 207.6 MB / 234.6 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2941/0.2941, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] 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.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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003604/0.003604, allocations: 68.47 kB / 468.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1617, allocations: 61.04 MB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.03045/0.1922, allocations: 20.01 MB / 0.5365 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2959/0.4881, allocations: 4.961 MB / 0.5413 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004703/0.4928, allocations: 164.7 kB / 0.5415 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01711/0.5099, allocations: 7.873 MB / 0.5491 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008983/0.5188, allocations: 2.197 MB / 0.5513 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005273/0.5241, allocations: 1.438 MB / 0.5527 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02147/0.5456, allocations: 12.42 MB / 0.5648 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03997/0.5856, allocations: 17.25 MB / 0.5817 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.5986, allocations: 6.745 MB / 0.5883 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01484/0.6135, allocations: 7.414 MB / 0.5955 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005508/0.619, allocations: 1.734 MB / 0.5972 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007737/0.6267, allocations: 1.926 MB / 0.5991 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007309/0.634, allocations: 3.74 MB / 0.6027 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01912/0.6531, allocations: 7.105 MB / 0.6097 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03416/0.6873, allocations: 23.75 MB / 0.6329 GB, free: 12.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6873, allocations: 0 / 0.6329 GB, free: 12.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6873, allocations: 0 / 0.6329 GB, free: 12.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007861/0.6881, allocations: 3.938 kB / 0.6329 GB, free: 12.71 MB / 478.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.04838/0.7365, allocations: 14.98 MB / 0.6475 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7365, allocations: 12.03 kB / 0.6475 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003794/0.7369, allocations: 333.1 kB / 0.6478 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007108/0.744, allocations: 1.759 MB / 0.6495 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06712/0.8111, allocations: 12.48 MB / 0.6617 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/0.8302, allocations: 6.769 MB / 0.6683 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/0.8316, allocations: 0.8993 MB / 0.6692 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005281/0.8369, allocations: 1.19 MB / 0.6704 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05544/0.8923, allocations: 19.05 MB / 0.689 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004062/0.8927, allocations: 18.81 kB / 0.689 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00411/0.8968, allocations: 0.4921 MB / 0.6895 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008183/0.8976, allocations: 0.6895 MB / 0.6902 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04593/0.9436, allocations: 19.83 MB / 0.7095 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1339/1.077, allocations: 60.67 MB / 0.7688 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5349/1.612, allocations: 11.52 MB / 0.78 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00737/1.62, allocations: 4.307 MB / 0.7842 GB, free: 171 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/1.62, allocations: 165.3 kB / 0.7844 GB, free: 171 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.955e-05/1.62, allocations: 108.7 kB / 0.7845 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.887e-06/1.62, allocations: 1.094 kB / 0.7845 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02327/1.644, allocations: 12.12 MB / 0.7963 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.644, allocations: 127.3 kB / 0.7964 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01706/1.661, allocations: 8.734 MB / 0.805 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/1.662, allocations: 133.3 kB / 0.8051 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003535/1.665, allocations: 4.73 MB / 0.8097 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003244/1.669, allocations: 2.37 MB / 0.812 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002658/1.671, allocations: 1.522 MB / 0.8135 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/1.671, allocations: 301.1 kB / 0.8138 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/1.678, allocations: 4.195 MB / 0.8179 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008104/1.686, allocations: 7.237 MB / 0.825 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.699, allocations: 12.39 MB / 0.8371 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.699, allocations: 29.88 kB / 0.8371 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02289/1.722, allocations: 12.43 MB / 0.8492 GB, free: 134 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/1.722, allocations: 51.98 kB / 0.8493 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.723, allocations: 100.1 kB / 0.8494 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/1.724, allocations: 424.8 kB / 0.8498 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007599/1.731, allocations: 2.098 MB / 0.8518 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/1.736, allocations: 8.986 MB / 0.8606 GB, free: 121.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/1.745, allocations: 1.442 MB / 0.862 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/1.747, allocations: 400 kB / 0.8624 GB, free: 120.1 MB / 0.5919 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.008446/1.756, allocations: 4.66 MB / 0.867 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.757, allocations: 0.749 MB / 0.8677 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.773, allocations: 11.04 MB / 0.8785 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.773, allocations: 68 kB / 0.8785 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.773, allocations: 11.98 kB / 0.8785 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.741e-05/1.773, allocations: 39.86 kB / 0.8786 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4356/2.209, allocations: 154.7 MB / 1.03 GB, free: 182.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004079/2.209, allocations: 88.66 kB / 1.03 GB, free: 182.8 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008181/2.217, allocations: 1.572 MB / 1.031 GB, free: 182.7 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/2.219, allocations: 388.2 kB / 1.032 GB, free: 182.6 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001761/2.22, allocations: 248.6 kB / 1.032 GB, free: 182.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/2.226, allocations: 8.86 MB / 1.041 GB, free: 174.6 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001292/2.227, allocations: 135.6 kB / 1.041 GB, free: 174.6 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02676/2.253, allocations: 18.89 MB / 1.059 GB, free: 163.4 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005452/2.259, allocations: 2.085 MB / 1.061 GB, free: 162.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.261, allocations: 251.6 kB / 1.061 GB, free: 162.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005642/2.266, allocations: 0.5589 MB / 1.062 GB, free: 162.5 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.268, allocations: 0.7686 MB / 1.063 GB, free: 162.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005613/2.268, allocations: 314.8 kB / 1.063 GB, free: 162.2 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009551/2.278, allocations: 6.127 MB / 1.069 GB, free: 160.1 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.91e-07/2.278, allocations: 0 / 1.069 GB, free: 160.1 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01121/2.289, allocations: 2.696 MB / 1.072 GB, free: 159.6 MB / 0.6232 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.02348/2.313, allocations: 19.79 MB / 1.091 GB, free: 147.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01684/2.329, allocations: 10.52 MB / 1.101 GB, free: 139 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 8.487e-05/2.329, allocations: 16 kB / 1.101 GB, free: 139 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.008168/2.338, allocations: 5.332 MB / 1.106 GB, free: 134.4 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/2.352, allocations: 1.513 MB / 1.108 GB, free: 132.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1495/2.502, allocations: 101.8 MB / 1.207 GB, free: 24.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01383/2.516, allocations: 7.881 MB / 1.215 GB, free: 16.38 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009401/2.525, allocations: 3.649 MB / 1.219 GB, free: 12.74 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00716/2.532, allocations: 4.233 MB / 1.223 GB, free: 8.504 MB / 0.6232 GB Notification: Performance of SimCode: time 1.994e-06/2.532, allocations: 0 / 1.223 GB, free: 8.504 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5921/3.124, allocations: 196.4 MB / 1.414 GB, free: 109.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.43/34.55, allocations: 15.36 kB / 1.415 GB, free: 109.9 MB / 0.6544 GB " [Timeout remaining time 625] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 45.18616017099703]