Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001905/0.001905, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00238/0.00238, allocations: 209.1 kB / 25.12 MB, free: 3.59 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.504/1.504, allocations: 230.4 MB / 258.7 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2379/0.2379, allocations: 46.93 MB / 362 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003388/0.003388, allocations: 79.86 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3785, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01066/0.3892, allocations: 7.492 MB / 0.5696 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.3941, allocations: 2.338 MB / 0.5719 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.3949, allocations: 27.94 kB / 0.572 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.3992, allocations: 1.742 MB / 0.5737 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.4018, allocations: 0.7101 MB / 0.5744 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.4035, allocations: 0.743 MB / 0.5751 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.4052, allocations: 1.249 MB / 0.5763 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.4065, allocations: 0.8747 MB / 0.5772 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.4072, allocations: 0.5215 MB / 0.5777 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008208/0.408, allocations: 0.673 MB / 0.5783 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4082, allocations: 108 kB / 0.5784 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.409, allocations: 287.8 kB / 0.5787 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.4092, allocations: 282.8 kB / 0.579 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.4098, allocations: 0.6025 MB / 0.5796 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.4117, allocations: 1.622 MB / 0.5811 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4117, allocations: 4 kB / 0.5811 GB, free: 0.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4117, allocations: 0 / 0.5811 GB, free: 0.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.4117, allocations: 4 kB / 0.5811 GB, free: 0.9141 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.004455/0.4162, allocations: 1.75 MB / 0.5829 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4162, allocations: 8.031 kB / 0.5829 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009131/0.4253, allocations: 1.276 MB / 0.5841 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.4265, allocations: 0.5157 MB / 0.5846 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.4266, allocations: 99.03 kB / 0.5847 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.4268, allocations: 140.1 kB / 0.5848 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.4292, allocations: 1.425 MB / 0.5862 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.4293, allocations: 0 / 0.5862 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.4294, allocations: 56 kB / 0.5863 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.4294, allocations: 32 kB / 0.5863 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.432, allocations: 1.455 MB / 0.5877 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007877/0.4398, allocations: 4.179 MB / 0.5918 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4416, allocations: 0.8188 MB / 0.5926 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.4422, allocations: 332.2 kB / 0.5929 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.4423, allocations: 44.94 kB / 0.593 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4424, allocations: 39.56 kB / 0.593 GB, free: 4.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.4424, allocations: 0 / 0.593 GB, free: 4.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002346/0.4447, allocations: 1.06 MB / 0.594 GB, free: 3.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4448, allocations: 60.41 kB / 0.5941 GB, free: 3.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4459, allocations: 0.821 MB / 0.5949 GB, free: 2.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.4459, allocations: 45.64 kB / 0.595 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.4463, allocations: 0.5234 MB / 0.5955 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.4466, allocations: 317.3 kB / 0.5958 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.4469, allocations: 202.8 kB / 0.596 GB, free: 1.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.4471, allocations: 402.7 kB / 0.5963 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/0.4478, allocations: 350.5 kB / 0.5967 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.4487, allocations: 0.627 MB / 0.5973 GB, free: 15.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.4503, allocations: 0.9875 MB / 0.5983 GB, free: 14.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4503, allocations: 4 kB / 0.5983 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002285/0.4525, allocations: 1.198 MB / 0.5994 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4526, allocations: 11.94 kB / 0.5994 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4526, allocations: 8 kB / 0.5994 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.4529, allocations: 69.61 kB / 0.5995 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4539, allocations: 263.6 kB / 0.5998 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.4563, allocations: 2.618 MB / 0.6023 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.4571, allocations: 158.7 kB / 0.6025 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4572, allocations: 51.97 kB / 0.6025 GB, free: 10.22 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.0004255/0.4576, allocations: 265.4 kB / 0.6028 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4578, allocations: 99.33 kB / 0.6029 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.4598, allocations: 1.107 MB / 0.604 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4598, allocations: 8 kB / 0.604 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4598, allocations: 4 kB / 0.604 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4598, allocations: 3.984 kB / 0.604 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.4638, allocations: 2.4 MB / 0.6063 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4638, allocations: 4 kB / 0.6063 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.4646, allocations: 183.7 kB / 0.6065 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.4648, allocations: 57.67 kB / 0.6065 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.4648, allocations: 32 kB / 0.6066 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.467, allocations: 2.618 MB / 0.6091 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.4671, allocations: 11.94 kB / 0.6091 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.4695, allocations: 1.486 MB / 0.6106 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.4697, allocations: 119.2 kB / 0.6107 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.4699, allocations: 31.88 kB / 0.6107 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/0.4705, allocations: 56.03 kB / 0.6108 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.4707, allocations: 88.34 kB / 0.6109 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.4707, allocations: 28 kB / 0.6109 GB, free: 1.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007828/0.4715, allocations: 0.5811 MB / 0.6115 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4715, allocations: 0 / 0.6115 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4725, allocations: 311.5 kB / 0.6118 GB, free: 252 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.0003009/0.4728, allocations: 167 kB / 0.6119 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.4748, allocations: 1.051 MB / 0.613 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4748, allocations: 0 / 0.613 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.4758, allocations: 0.5926 MB / 0.6135 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.4766, allocations: 131 kB / 0.6137 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4798, allocations: 1.869 MB / 0.6155 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.4805, allocations: 1.012 MB / 0.6165 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.481, allocations: 155.8 kB / 0.6166 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.4812, allocations: 83.42 kB / 0.6167 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4812, allocations: 0 / 0.6167 GB, free: 11 MB / 462.1 MB Notification: Performance of Templates: time 0.02259/0.5038, allocations: 11.64 MB / 0.6281 GB, free: 15.41 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.709237648174167]