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.0009254/0.0009254, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0008941/0.0008941, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9096/0.9096, allocations: 177 MB / 204.9 MB, free: 5.551 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.238/0.238, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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 2.504e-06/2.504e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/3.002e-05, allocations: 2.312 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01023/0.01026, allocations: 7.277 MB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.01373, allocations: 2.283 MB / 388.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.01406, allocations: 27.94 kB / 388.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.01598, allocations: 1.855 MB / 390.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009648/0.01694, allocations: 0.7105 MB / 390.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.01777, allocations: 0.7363 MB / 391.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008468/0.01861, allocations: 1.291 MB / 393 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008487/0.01946, allocations: 0.8595 MB / 393.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.02012, allocations: 0.756 MB / 394.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.02056, allocations: 0.5181 MB / 395.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.02066, allocations: 108 kB / 395.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.02106, allocations: 283.6 kB / 395.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.0212, allocations: 282.8 kB / 395.7 MB, free: 1.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.02147, allocations: 426.8 kB / 396.2 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008964/0.02237, allocations: 1.086 MB / 397.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02237, allocations: 0 / 397.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02238, allocations: 3.938 kB / 397.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.02239, allocations: 8 kB / 397.3 MB, free: 15.5 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.002456/0.02484, allocations: 1.882 MB / 399.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.02488, allocations: 8.031 kB / 399.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.03002, allocations: 1.588 MB / 400.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.03084, allocations: 0.5061 MB / 401.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.0309, allocations: 103 kB / 401.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.0311, allocations: 140.3 kB / 401.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.0325, allocations: 1.079 MB / 402.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.03254, allocations: 15.89 kB / 402.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.03262, allocations: 52 kB / 402.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.03264, allocations: 32 kB / 402.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.03385, allocations: 0.8586 MB / 403.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.03847, allocations: 3.55 MB / 407.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.03953, allocations: 0.6883 MB / 407.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.0398, allocations: 199 kB / 407.9 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/0.03989, allocations: 40.97 kB / 408 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.03992, allocations: 46.39 kB / 408 MB, free: 4.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.536e-06/0.03992, allocations: 7.938 kB / 408 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001215/0.04114, allocations: 0.6946 MB / 408.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.04117, allocations: 64.41 kB / 408.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.04155, allocations: 0.5178 MB / 409.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.04158, allocations: 37.7 kB / 409.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.04195, allocations: 0.5961 MB / 409.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.0421, allocations: 321.2 kB / 410.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.04231, allocations: 216.5 kB / 410.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.04245, allocations: 0.5508 MB / 411 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.04271, allocations: 170.5 kB / 411.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.04315, allocations: 0.553 MB / 411.7 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.0439, allocations: 0.8006 MB / 412.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.0439, allocations: 4 kB / 412.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001351/0.04525, allocations: 0.8714 MB / 413.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.04528, allocations: 15.98 kB / 413.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.04529, allocations: 8 kB / 413.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.04556, allocations: 79.66 kB / 413.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.04608, allocations: 259.6 kB / 413.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.04764, allocations: 3.516 MB / 417.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.04805, allocations: 115.1 kB / 417.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.0481, allocations: 51.92 kB / 417.5 MB, free: 10.38 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.0002098/0.04831, allocations: 220.3 kB / 417.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.04842, allocations: 103.7 kB / 417.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.04945, allocations: 0.8772 MB / 418.6 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.04946, allocations: 12 kB / 418.7 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.04946, allocations: 4 kB / 418.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.04947, allocations: 3.984 kB / 418.7 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.05178, allocations: 1.799 MB / 420.5 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.05178, allocations: 8 kB / 420.5 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.05216, allocations: 175.7 kB / 420.6 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.05235, allocations: 87.75 kB / 420.7 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.05238, allocations: 24 kB / 420.8 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.05377, allocations: 3.508 MB / 424.3 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.05378, allocations: 4 kB / 424.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.05489, allocations: 1.139 MB / 425.4 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.05497, allocations: 79.42 kB / 425.5 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.05503, allocations: 31.88 kB / 425.5 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.05531, allocations: 47.97 kB / 425.6 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.05542, allocations: 88.34 kB / 425.6 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.05546, allocations: 39.98 kB / 425.7 MB, free: 1.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.05569, allocations: 335.1 kB / 426 MB, free: 1.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05569, allocations: 4 kB / 426 MB, free: 1.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007406/0.05643, allocations: 351.1 kB / 426.4 MB, free: 0.8789 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.0002581/0.05669, allocations: 170.9 kB / 426.5 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.05798, allocations: 0.9305 MB / 427.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.05798, allocations: 4 kB / 427.5 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.05844, allocations: 0.6227 MB / 428.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.0589, allocations: 110.7 kB / 428.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.06118, allocations: 1.801 MB / 430 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.06131, allocations: 185.9 kB / 430.2 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.0616, allocations: 121.9 kB / 430.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.06177, allocations: 76.48 kB / 430.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06177, allocations: 4 kB / 430.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01237/0.07414, allocations: 9.021 MB / 439.4 MB, free: 3.719 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.585074613802135]