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.001478/0.001478, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001618/0.001618, allocations: 209.5 kB / 24.49 MB, free: 4.164 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.361/1.361, allocations: 230.5 MB / 258.1 MB, free: 8.043 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.2183/0.2183, allocations: 46.92 MB / 361.5 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 180] 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.002206/0.002206, allocations: 75.88 kB / 0.4974 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2914, allocations: 66.08 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009018/0.3004, allocations: 7.547 MB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.3048, allocations: 2.377 MB / 0.5717 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.3052, allocations: 31.94 kB / 0.5717 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.3089, allocations: 1.75 MB / 0.5734 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3107, allocations: 0.7095 MB / 0.5741 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3123, allocations: 0.7473 MB / 0.5748 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3138, allocations: 1.253 MB / 0.576 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.3155, allocations: 0.8673 MB / 0.5769 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008185/0.3164, allocations: 0.5214 MB / 0.5774 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.3173, allocations: 0.6692 MB / 0.5781 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.3175, allocations: 108 kB / 0.5782 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.3183, allocations: 295.8 kB / 0.5784 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.3186, allocations: 275 kB / 0.5787 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.3193, allocations: 0.6102 MB / 0.5793 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.3213, allocations: 1.617 MB / 0.5809 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3213, allocations: 0 / 0.5809 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3213, allocations: 0 / 0.5809 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.573e-05/0.3213, allocations: 0 / 0.5809 GB, free: 0.8047 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.004428/0.3258, allocations: 1.757 MB / 0.5826 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3258, allocations: 8.031 kB / 0.5826 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008541/0.3343, allocations: 1.272 MB / 0.5838 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3354, allocations: 0.5079 MB / 0.5843 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.3355, allocations: 99.03 kB / 0.5844 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.3356, allocations: 140.1 kB / 0.5846 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.3378, allocations: 1.249 MB / 0.5858 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.3379, allocations: 0 / 0.5858 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.338, allocations: 59.88 kB / 0.5858 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.338, allocations: 32 kB / 0.5859 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.3404, allocations: 1.455 MB / 0.5873 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007369/0.3478, allocations: 4.202 MB / 0.5914 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3495, allocations: 0.8232 MB / 0.5922 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.35, allocations: 338.5 kB / 0.5925 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3502, allocations: 40.94 kB / 0.5926 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3502, allocations: 47.56 kB / 0.5926 GB, free: 4.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.244e-06/0.3502, allocations: 0 / 0.5926 GB, free: 4.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002168/0.3524, allocations: 1.06 MB / 0.5936 GB, free: 3.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3524, allocations: 60.41 kB / 0.5937 GB, free: 3.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3534, allocations: 0.817 MB / 0.5945 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.3535, allocations: 41.7 kB / 0.5945 GB, free: 2.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.3539, allocations: 0.5155 MB / 0.595 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.3541, allocations: 321.3 kB / 0.5953 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.3544, allocations: 206.8 kB / 0.5955 GB, free: 1.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3546, allocations: 402.7 kB / 0.5959 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.3552, allocations: 354.4 kB / 0.5963 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/0.3561, allocations: 0.6192 MB / 0.5969 GB, free: 28 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3576, allocations: 0.9953 MB / 0.5978 GB, free: 14.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3576, allocations: 0 / 0.5978 GB, free: 14.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002065/0.3597, allocations: 1.19 MB / 0.599 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3597, allocations: 16.03 kB / 0.599 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.3597, allocations: 8 kB / 0.599 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.36, allocations: 69.67 kB / 0.5991 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.3609, allocations: 263.6 kB / 0.5993 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.3632, allocations: 2.621 MB / 0.6019 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.364, allocations: 158.8 kB / 0.6021 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.3641, allocations: 51.98 kB / 0.6021 GB, free: 10.3 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.0004065/0.3645, allocations: 265.5 kB / 0.6024 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3646, allocations: 99.33 kB / 0.6025 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.3665, allocations: 1.107 MB / 0.6035 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.3665, allocations: 8 kB / 0.6035 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3665, allocations: 0 / 0.6035 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3665, allocations: 3.984 kB / 0.6035 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.3702, allocations: 2.396 MB / 0.6059 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3703, allocations: 11.94 kB / 0.6059 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.3709, allocations: 179.8 kB / 0.6061 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.3711, allocations: 65.67 kB / 0.6061 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.3712, allocations: 27.98 kB / 0.6062 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.3733, allocations: 2.618 MB / 0.6087 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3733, allocations: 8 kB / 0.6087 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.3756, allocations: 1.486 MB / 0.6102 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.3758, allocations: 123.2 kB / 0.6103 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.3759, allocations: 35.89 kB / 0.6103 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.3765, allocations: 52.03 kB / 0.6104 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3767, allocations: 88.28 kB / 0.6105 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.3767, allocations: 36 kB / 0.6105 GB, free: 1.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.3775, allocations: 0.5849 MB / 0.6111 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.6111 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.3784, allocations: 307.6 kB / 0.6114 GB, free: 328 kB / 446.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.0002648/0.3787, allocations: 166.9 kB / 0.6115 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.3805, allocations: 1.048 MB / 0.6125 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3805, allocations: 4.062 kB / 0.6125 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.3814, allocations: 0.5959 MB / 0.6131 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.3821, allocations: 133.9 kB / 0.6133 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.3852, allocations: 1.898 MB / 0.6151 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.3859, allocations: 1.02 MB / 0.6161 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.3863, allocations: 103.4 kB / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3863, allocations: 0 / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.02867/0.4149, allocations: 21.98 MB / 0.6377 GB, free: 5.148 MB / 478.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 8.26902294694446]