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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001474/0.001474, allocations: 212.7 kB / 23.73 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.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2579/0.2579, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.002457/0.002457, allocations: 91.8 kB / 0.4967 GB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3905, allocations: 66.08 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01048/0.401, allocations: 6.579 MB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.4067, allocations: 2.22 MB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.4081, allocations: 27.94 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.4129, allocations: 1.625 MB / 0.5714 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.4158, allocations: 0.6944 MB / 0.5721 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.4181, allocations: 0.7083 MB / 0.5728 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.4205, allocations: 1.245 MB / 0.574 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.4225, allocations: 0.8552 MB / 0.5748 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.4237, allocations: 0.5254 MB / 0.5753 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.4251, allocations: 0.591 MB / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004637/0.4255, allocations: 104 kB / 0.576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.4273, allocations: 287.8 kB / 0.5763 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005769/0.4279, allocations: 278.9 kB / 0.5765 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.4289, allocations: 0.5015 MB / 0.577 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.4321, allocations: 1.619 MB / 0.5786 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4321, allocations: 0 / 0.5786 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4321, allocations: 0 / 0.5786 GB, free: 2.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.467e-05/0.4322, allocations: 0 / 0.5786 GB, free: 2.027 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.006383/0.4386, allocations: 1.757 MB / 0.5803 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4387, allocations: 12.02 kB / 0.5803 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009688/0.4483, allocations: 1.272 MB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.4504, allocations: 0.504 MB / 0.5821 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4505, allocations: 95.03 kB / 0.5822 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.4511, allocations: 144.1 kB / 0.5823 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.4549, allocations: 1.425 MB / 0.5837 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.455, allocations: 0 / 0.5837 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.4552, allocations: 56 kB / 0.5837 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.4552, allocations: 32 kB / 0.5838 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.4584, allocations: 1.435 MB / 0.5852 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008966/0.4673, allocations: 3.614 MB / 0.5887 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.4692, allocations: 0.8139 MB / 0.5895 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.4699, allocations: 332.2 kB / 0.5898 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.47, allocations: 40.91 kB / 0.5899 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.47, allocations: 43.56 kB / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.336e-06/0.47, allocations: 0 / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002376/0.4724, allocations: 1.029 MB / 0.5909 GB, free: 5.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.4725, allocations: 68.39 kB / 0.591 GB, free: 5.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.4732, allocations: 0.5054 MB / 0.5915 GB, free: 4.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.4733, allocations: 41.64 kB / 0.5915 GB, free: 4.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.4737, allocations: 0.5505 MB / 0.592 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.474, allocations: 321.2 kB / 0.5923 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.4744, allocations: 202.9 kB / 0.5925 GB, free: 3.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4746, allocations: 374.7 kB / 0.5929 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.4753, allocations: 350.5 kB / 0.5932 GB, free: 2.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.4762, allocations: 0.6192 MB / 0.5938 GB, free: 2.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.4779, allocations: 0.9953 MB / 0.5948 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.4779, allocations: 4 kB / 0.5948 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002355/0.4802, allocations: 1.159 MB / 0.5959 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4803, allocations: 8 kB / 0.596 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.4803, allocations: 8 kB / 0.596 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.4806, allocations: 77.55 kB / 0.596 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4816, allocations: 263.6 kB / 0.5963 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.4841, allocations: 2.572 MB / 0.5988 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.485, allocations: 123.4 kB / 0.5989 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.4851, allocations: 51.98 kB / 0.599 GB, free: 12.43 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.0005796/0.4857, allocations: 265.4 kB / 0.5992 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.4859, allocations: 63.62 kB / 0.5993 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.4879, allocations: 1.084 MB / 0.6003 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4879, allocations: 11.98 kB / 0.6003 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4879, allocations: 0 / 0.6003 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4879, allocations: 3.984 kB / 0.6004 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.4919, allocations: 2.104 MB / 0.6024 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.492, allocations: 7.984 kB / 0.6024 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/0.4927, allocations: 187.7 kB / 0.6026 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.4929, allocations: 57.69 kB / 0.6026 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.493, allocations: 31.92 kB / 0.6027 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.4952, allocations: 2.565 MB / 0.6052 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.4952, allocations: 12.25 kB / 0.6052 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.4979, allocations: 1.462 MB / 0.6066 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.4981, allocations: 75.42 kB / 0.6067 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.4983, allocations: 31.94 kB / 0.6067 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.4989, allocations: 52.03 kB / 0.6068 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.4991, allocations: 80.41 kB / 0.6069 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.4992, allocations: 39.98 kB / 0.6069 GB, free: 3.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004963/0.4997, allocations: 355.1 kB / 0.6072 GB, free: 3.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4997, allocations: 0 / 0.6072 GB, free: 3.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001219/0.5009, allocations: 339.1 kB / 0.6076 GB, free: 3.16 MB / 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.0003559/0.5013, allocations: 178.9 kB / 0.6077 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.5033, allocations: 1.046 MB / 0.6087 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.5033, allocations: 7.938 kB / 0.6088 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.5043, allocations: 0.5937 MB / 0.6093 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.505, allocations: 93.83 kB / 0.6094 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.5086, allocations: 1.834 MB / 0.6112 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.5091, allocations: 427.5 kB / 0.6116 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.5097, allocations: 129.9 kB / 0.6117 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.5099, allocations: 75.41 kB / 0.6118 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5099, allocations: 0 / 0.6118 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Templates: time 0.02023/0.5301, allocations: 10.16 MB / 0.6217 GB, free: 4.543 MB / 462.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.1.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: 5.965392507612705]