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.001029/0.001029, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001107/0.001107, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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 0.9217/0.9217, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.2483/0.2483, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 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 1.773e-06/1.773e-06, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.82e-05, allocations: 2.312 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008586/0.008614, allocations: 7.259 MB / 386 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.01252, allocations: 2.264 MB / 388.3 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005794/0.0131, allocations: 27.94 kB / 388.3 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.01528, allocations: 1.847 MB / 390.1 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.0165, allocations: 0.7144 MB / 390.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.01743, allocations: 0.7315 MB / 391.6 MB, free: 5.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009765/0.01841, allocations: 1.295 MB / 392.9 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/0.01929, allocations: 0.8556 MB / 393.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.01991, allocations: 0.7521 MB / 394.5 MB, free: 2.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.02032, allocations: 0.5142 MB / 395 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.02043, allocations: 108 kB / 395.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.02091, allocations: 287.6 kB / 395.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.02105, allocations: 278.8 kB / 395.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.02135, allocations: 430.8 kB / 396.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.02249, allocations: 1.09 MB / 397.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.02249, allocations: 0 / 397.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0225, allocations: 0 / 397.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.02251, allocations: 0 / 397.2 MB, free: 15.88 MB / 378.7 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.002939/0.02545, allocations: 1.882 MB / 399.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.02549, allocations: 8.031 kB / 399.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.03121, allocations: 1.584 MB / 400.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.03195, allocations: 0.5139 MB / 401.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.032, allocations: 99.03 kB / 401.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.03215, allocations: 136.3 kB / 401.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.03343, allocations: 1.086 MB / 402.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.03347, allocations: 11.89 kB / 402.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.03355, allocations: 52 kB / 402.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.03357, allocations: 35.94 kB / 402.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.03476, allocations: 0.8625 MB / 403.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.03929, allocations: 3.546 MB / 407 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.0403, allocations: 0.6862 MB / 407.7 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.04057, allocations: 199 kB / 407.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.04065, allocations: 44.95 kB / 407.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.04068, allocations: 46.39 kB / 407.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.797e-06/0.04069, allocations: 0 / 407.9 MB, free: 4.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001173/0.04186, allocations: 0.7024 MB / 408.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.04189, allocations: 64.41 kB / 408.7 MB, free: 4.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.04227, allocations: 0.51 MB / 409.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.04231, allocations: 41.7 kB / 409.3 MB, free: 3.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.04255, allocations: 0.5922 MB / 409.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.04271, allocations: 329.2 kB / 410.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.04291, allocations: 216.5 kB / 410.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.04306, allocations: 0.5469 MB / 410.9 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.04333, allocations: 174.5 kB / 411.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.04377, allocations: 0.553 MB / 411.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.04454, allocations: 0.8006 MB / 412.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.04455, allocations: 4 kB / 412.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001111/0.04566, allocations: 0.8711 MB / 413.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.04568, allocations: 8 kB / 413.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.0457, allocations: 12 kB / 413.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.046, allocations: 83.91 kB / 413.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.04654, allocations: 263.6 kB / 413.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.04809, allocations: 3.504 MB / 417.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.04851, allocations: 119.1 kB / 417.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.04856, allocations: 51.94 kB / 417.4 MB, free: 10.76 MB / 394.7 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.0002622/0.04882, allocations: 232.4 kB / 417.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.04893, allocations: 95.58 kB / 417.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.04996, allocations: 0.885 MB / 418.6 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.04997, allocations: 11.98 kB / 418.6 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.04997, allocations: 0 / 418.6 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.04998, allocations: 7.984 kB / 418.6 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.052, allocations: 1.794 MB / 420.4 MB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.05201, allocations: 8 kB / 420.4 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.05241, allocations: 175.7 kB / 420.6 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.05262, allocations: 80.06 kB / 420.6 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.05266, allocations: 27.98 kB / 420.7 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.05412, allocations: 3.508 MB / 424.2 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.05413, allocations: 7.938 kB / 424.2 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.05531, allocations: 1.131 MB / 425.3 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.05541, allocations: 87.41 kB / 425.4 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.05549, allocations: 27.94 kB / 425.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.05579, allocations: 47.97 kB / 425.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.05591, allocations: 88.42 kB / 425.6 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.05594, allocations: 36 kB / 425.6 MB, free: 1.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.0562, allocations: 339 kB / 425.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.0562, allocations: 0 / 425.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.05702, allocations: 351.1 kB / 426.3 MB, free: 1.258 MB / 394.7 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.0002616/0.05728, allocations: 170.9 kB / 426.4 MB, free: 1.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.05835, allocations: 0.9384 MB / 427.4 MB, free: 120 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.05836, allocations: 4 kB / 427.4 MB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.05884, allocations: 0.6196 MB / 428 MB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.05929, allocations: 105.8 kB / 428.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.06159, allocations: 1.801 MB / 429.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.06172, allocations: 185.9 kB / 430.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.06202, allocations: 125.9 kB / 430.2 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.06217, allocations: 76.47 kB / 430.3 MB, free: 13 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06217, allocations: 4 kB / 430.3 MB, free: 13 MB / 410.7 MB Notification: Performance of Templates: time 0.01321/0.07538, allocations: 9.023 MB / 439.3 MB, free: 4.094 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.401818020036444]