Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 213.7 kB / 23 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3023/0.3023, allocations: 46.91 MB / 359.4 MB, free: 4.895 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002995/0.002995, allocations: 80.14 kB / 0.4946 GB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.5013, allocations: 65.99 MB / 0.5591 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009717/0.511, allocations: 7.556 MB / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.5169, allocations: 2.381 MB / 0.5688 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.5181, allocations: 24 kB / 0.5688 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.5224, allocations: 1.741 MB / 0.5705 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.5247, allocations: 0.7111 MB / 0.5712 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.5265, allocations: 0.7521 MB / 0.5719 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.5284, allocations: 1.245 MB / 0.5731 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.5297, allocations: 0.7114 MB / 0.5738 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007566/0.5305, allocations: 0.5175 MB / 0.5743 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008193/0.5313, allocations: 0.6653 MB / 0.575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.5315, allocations: 104 kB / 0.5751 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.5323, allocations: 299.8 kB / 0.5754 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5325, allocations: 271 kB / 0.5756 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.5332, allocations: 0.6141 MB / 0.5762 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.5356, allocations: 1.617 MB / 0.5778 GB, free: 1.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5356, allocations: 0 / 0.5778 GB, free: 1.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5356, allocations: 0 / 0.5778 GB, free: 1.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.5357, allocations: 0 / 0.5778 GB, free: 1.809 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004914/0.5406, allocations: 1.832 MB / 0.5796 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5406, allocations: 12.03 kB / 0.5796 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009517/0.5502, allocations: 1.268 MB / 0.5809 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5515, allocations: 0.5648 MB / 0.5814 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5516, allocations: 103 kB / 0.5815 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.5519, allocations: 136.1 kB / 0.5816 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.5545, allocations: 1.242 MB / 0.5829 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.5545, allocations: 7.984 kB / 0.5829 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.5547, allocations: 56 kB / 0.5829 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.5547, allocations: 36 kB / 0.5829 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.5575, allocations: 1.463 MB / 0.5844 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009881/0.5674, allocations: 5.819 MB / 0.5901 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.5696, allocations: 1.04 MB / 0.5911 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.5704, allocations: 336.2 kB / 0.5914 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.5707, allocations: 187.2 kB / 0.5916 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.5707, allocations: 43.56 kB / 0.5916 GB, free: 2.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.445e-06/0.5707, allocations: 4 kB / 0.5916 GB, free: 2.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002493/0.5732, allocations: 1.207 MB / 0.5928 GB, free: 1.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.5733, allocations: 68.41 kB / 0.5929 GB, free: 1.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.5745, allocations: 0.8248 MB / 0.5937 GB, free: 0.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.5746, allocations: 41.7 kB / 0.5937 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/0.5753, allocations: 0.5117 MB / 0.5942 GB, free: 232 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.5757, allocations: 325.3 kB / 0.5945 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.5761, allocations: 206.8 kB / 0.5947 GB, free: 15.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003251/0.5765, allocations: 394.7 kB / 0.5951 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.5772, allocations: 350.5 kB / 0.5954 GB, free: 14.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.5782, allocations: 0.6186 MB / 0.596 GB, free: 14.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.5799, allocations: 1.003 MB / 0.597 GB, free: 13.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5799, allocations: 7.984 kB / 0.597 GB, free: 13.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002472/0.5824, allocations: 1.186 MB / 0.5982 GB, free: 11.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5824, allocations: 15.94 kB / 0.5982 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.5824, allocations: 8 kB / 0.5982 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.5828, allocations: 70.17 kB / 0.5983 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5838, allocations: 263.6 kB / 0.5985 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.5868, allocations: 2.821 MB / 0.6013 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.588, allocations: 162.7 kB / 0.6014 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.5881, allocations: 51.98 kB / 0.6015 GB, free: 8.227 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0005658/0.5887, allocations: 261.6 kB / 0.6017 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.5889, allocations: 99.33 kB / 0.6018 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.5912, allocations: 1.099 MB / 0.6029 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5912, allocations: 8 kB / 0.6029 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5912, allocations: 0 / 0.6029 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5912, allocations: 3.984 kB / 0.6029 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/0.5967, allocations: 3.178 MB / 0.606 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5967, allocations: 4 kB / 0.606 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.5975, allocations: 183.7 kB / 0.6062 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.5977, allocations: 62.23 kB / 0.6062 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.5978, allocations: 31.98 kB / 0.6063 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.6015, allocations: 2.824 MB / 0.609 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.6015, allocations: 8 kB / 0.609 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.6046, allocations: 1.485 MB / 0.6105 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.6051, allocations: 196.4 kB / 0.6107 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.6053, allocations: 31.95 kB / 0.6107 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.6059, allocations: 47.97 kB / 0.6108 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.6062, allocations: 92.22 kB / 0.6108 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.6063, allocations: 32 kB / 0.6109 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008573/0.6071, allocations: 0.5849 MB / 0.6114 GB, free: 13.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6071, allocations: 0 / 0.6114 GB, free: 13.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001211/0.6083, allocations: 307.6 kB / 0.6117 GB, free: 12.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003524/0.6087, allocations: 170.9 kB / 0.6119 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002415/0.6111, allocations: 1.045 MB / 0.6129 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6111, allocations: 5.938 kB / 0.6129 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.6123, allocations: 0.5988 MB / 0.6135 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.6131, allocations: 135.5 kB / 0.6136 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.6169, allocations: 1.859 MB / 0.6155 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009656/0.6178, allocations: 1.016 MB / 0.6164 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005823/0.6184, allocations: 155.8 kB / 0.6166 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.6186, allocations: 83.42 kB / 0.6167 GB, free: 7.695 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6186, allocations: 4 kB / 0.6167 GB, free: 7.691 MB / 462.1 MB Notification: Performance of Templates: time 0.02162/0.6403, allocations: 11.34 MB / 0.6278 GB, free: 12.4 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.222252245992422]