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.001771/0.001771, allocations: 122.2 kB / 17.84 MB, free: 5.203 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.002098/0.002098, allocations: 211.8 kB / 20.8 MB, free: 2.258 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.892/1.892, allocations: 207.6 MB / 231.2 MB, free: 4.145 MB / 174.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.3925/0.3925, allocations: 44.23 MB / 327.3 MB, free: 6.75 MB / 254.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.002746/0.002746, allocations: 79.88 kB / 462.9 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3915, allocations: 60.99 MB / 0.5116 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01908/0.4106, allocations: 19.98 MB / 0.5311 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.4241, allocations: 4.966 MB / 0.536 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00632/0.4304, allocations: 163.1 kB / 0.5362 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02024/0.4507, allocations: 7.857 MB / 0.5438 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.4616, allocations: 2.134 MB / 0.5459 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.4675, allocations: 1.415 MB / 0.5473 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01962/0.4871, allocations: 12.36 MB / 0.5594 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04429/0.5314, allocations: 20.25 MB / 0.5791 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/0.545, allocations: 6.729 MB / 0.5857 GB, free: 2.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01767/0.5627, allocations: 7.404 MB / 0.5929 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006308/0.569, allocations: 1.734 MB / 0.5946 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008583/0.5776, allocations: 1.922 MB / 0.5965 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008255/0.5859, allocations: 3.736 MB / 0.6002 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01785/0.6037, allocations: 7.108 MB / 0.6071 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04096/0.6447, allocations: 23.75 MB / 0.6303 GB, free: 4.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.6447, allocations: 4 kB / 0.6303 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.6447, allocations: 0 / 0.6303 GB, free: 4.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009136/0.6456, allocations: 0 / 0.6303 GB, free: 4.906 MB / 494.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.05601/0.7016, allocations: 15.07 MB / 0.645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001358/0.7018, allocations: 11.89 kB / 0.645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005563/0.7023, allocations: 333.1 kB / 0.6453 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00861/0.7109, allocations: 1.751 MB / 0.647 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.603/1.314, allocations: 12.48 MB / 0.6592 GB, free: 104.7 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/1.33, allocations: 6.632 MB / 0.6657 GB, free: 101.4 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008425/1.331, allocations: 0.9038 MB / 0.6666 GB, free: 101 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004892/1.336, allocations: 1.192 MB / 0.6678 GB, free: 100.6 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04784/1.384, allocations: 19.05 MB / 0.6864 GB, free: 84.72 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00067/1.385, allocations: 11.95 kB / 0.6864 GB, free: 84.71 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005215/1.39, allocations: 0.4995 MB / 0.6869 GB, free: 84.23 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006353/1.39, allocations: 0.6856 MB / 0.6875 GB, free: 83.54 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04003/1.431, allocations: 19.84 MB / 0.7069 GB, free: 63.68 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/1.532, allocations: 61.72 MB / 0.7672 GB, free: 1.652 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02583/1.558, allocations: 19.63 MB / 0.7863 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008209/1.566, allocations: 4.302 MB / 0.7905 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/1.567, allocations: 242.2 kB / 0.7908 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/1.567, allocations: 111.8 kB / 0.7909 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=674): time 1.088e-05/1.567, allocations: 0 / 0.7909 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=674): time 0.02557/1.593, allocations: 12.57 MB / 0.8032 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.593, allocations: 124.6 kB / 0.8033 GB, free: 11.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01612/1.609, allocations: 8.726 MB / 0.8118 GB, free: 2.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.611, allocations: 133.7 kB / 0.8119 GB, free: 2.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004929/1.616, allocations: 4.742 MB / 0.8166 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003213/1.619, allocations: 2.37 MB / 0.8189 GB, free: 11.25 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002846/1.622, allocations: 1.518 MB / 0.8204 GB, free: 9.719 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.622, allocations: 301.1 kB / 0.8206 GB, free: 9.422 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006964/1.629, allocations: 4.192 MB / 0.8247 GB, free: 5.219 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.64, allocations: 7.226 MB / 0.8318 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/1.659, allocations: 12.4 MB / 0.8439 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.659, allocations: 39.98 kB / 0.8439 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02752/1.687, allocations: 12.43 MB / 0.8561 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/1.687, allocations: 51.94 kB / 0.8561 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/1.687, allocations: 100 kB / 0.8562 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.688, allocations: 417.3 kB / 0.8566 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00868/1.697, allocations: 2.098 MB / 0.8587 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009296/1.706, allocations: 9.608 MB / 0.8681 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.716, allocations: 1.431 MB / 0.8694 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.718, allocations: 400 kB / 0.8698 GB, free: 3.191 MB / 0.6075 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.009558/1.728, allocations: 4.66 MB / 0.8744 GB, free: 14.52 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.729, allocations: 0.7567 MB / 0.8751 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.75, allocations: 11.04 MB / 0.8859 GB, free: 2.605 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-05/1.75, allocations: 71.98 kB / 0.886 GB, free: 2.535 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.75, allocations: 4 kB / 0.886 GB, free: 2.531 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.75, allocations: 31.88 kB / 0.886 GB, free: 2.5 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4396/2.19, allocations: 159.1 MB / 1.041 GB, free: 81.61 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001716/2.19, allocations: 84 kB / 1.041 GB, free: 81.53 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005575/2.196, allocations: 1.575 MB / 1.043 GB, free: 79.95 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008371/2.196, allocations: 381 kB / 1.043 GB, free: 79.56 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/2.197, allocations: 252 kB / 1.044 GB, free: 79.31 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004931/2.202, allocations: 9.483 MB / 1.053 GB, free: 69.06 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.171e-05/2.202, allocations: 135.4 kB / 1.053 GB, free: 68.93 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/2.223, allocations: 18.88 MB / 1.071 GB, free: 48.29 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005214/2.228, allocations: 2.078 MB / 1.073 GB, free: 46.29 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/2.23, allocations: 258 kB / 1.074 GB, free: 46.04 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005995/2.236, allocations: 0.562 MB / 1.074 GB, free: 45.48 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/2.237, allocations: 0.7458 MB / 1.075 GB, free: 44.73 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005528/2.238, allocations: 312 kB / 1.075 GB, free: 44.43 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009075/2.247, allocations: 6.117 MB / 1.081 GB, free: 38.33 MB / 0.6232 GB Notification: Performance of sort global known variables: time 4.51e-07/2.247, allocations: 0 / 1.081 GB, free: 38.33 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01058/2.258, allocations: 2.696 MB / 1.084 GB, free: 35.82 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.02241/2.28, allocations: 19.8 MB / 1.103 GB, free: 13.94 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0165/2.297, allocations: 10.52 MB / 1.113 GB, free: 3.332 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.947e-05/2.297, allocations: 17.12 kB / 1.113 GB, free: 3.316 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.008975/2.306, allocations: 5.334 MB / 1.119 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/2.319, allocations: 1.498 MB / 1.12 GB, free: 12.43 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4484/2.767, allocations: 101.6 MB / 1.219 GB, free: 151.8 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/2.782, allocations: 7.886 MB / 1.227 GB, free: 143.9 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01118/2.793, allocations: 3.645 MB / 1.231 GB, free: 140.3 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008671/2.802, allocations: 4.237 MB / 1.235 GB, free: 136 MB / 0.6388 GB Notification: Performance of SimCode: time 1.693e-06/2.802, allocations: 0 / 1.235 GB, free: 136 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5557/3.357, allocations: 193.5 MB / 1.424 GB, free: 184.4 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.16/33.51, allocations: 10.95 kB / 1.424 GB, free: 184.4 MB / 0.6388 GB " [Timeout remaining time 626] (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: 43.917919811967295]