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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001233, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2535/0.2535, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 76.06 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4393, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.0126/0.452, allocations: 7.494 MB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.4575, allocations: 2.356 MB / 0.5406 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.4584, allocations: 23.09 kB / 0.5406 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00485/0.4633, allocations: 1.743 MB / 0.5423 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.4666, allocations: 0.6939 MB / 0.543 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.4692, allocations: 0.7601 MB / 0.5438 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.4726, allocations: 1.246 MB / 0.545 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.4755, allocations: 0.9391 MB / 0.5459 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.4772, allocations: 0.5061 MB / 0.5464 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.479, allocations: 0.6662 MB / 0.547 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.4792, allocations: 106.1 kB / 0.5471 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.4805, allocations: 303.8 kB / 0.5474 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.4807, allocations: 275 kB / 0.5477 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.4815, allocations: 0.5987 MB / 0.5483 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.4844, allocations: 1.609 MB / 0.5498 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.4844, allocations: 0 / 0.5498 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4844, allocations: 7.938 kB / 0.5498 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.4845, allocations: 4 kB / 0.5499 GB, free: 14.35 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.006282/0.4908, allocations: 1.796 MB / 0.5516 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.4908, allocations: 12.03 kB / 0.5516 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.502, allocations: 1.33 MB / 0.5529 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5033, allocations: 0.5568 MB / 0.5535 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.5034, allocations: 99.03 kB / 0.5536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.5036, allocations: 140 kB / 0.5537 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.5059, allocations: 1.242 MB / 0.5549 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.506, allocations: 4 kB / 0.5549 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.5061, allocations: 52 kB / 0.555 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.5061, allocations: 32 kB / 0.555 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.5085, allocations: 1.447 MB / 0.5564 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/0.5169, allocations: 5.789 MB / 0.5621 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.5187, allocations: 0.9557 MB / 0.563 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.5193, allocations: 379.7 kB / 0.5633 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.5195, allocations: 183.2 kB / 0.5635 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.5196, allocations: 47.55 kB / 0.5636 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.866e-06/0.5196, allocations: 7.938 kB / 0.5636 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.00228/0.5219, allocations: 1.194 MB / 0.5647 GB, free: 14.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5219, allocations: 60.41 kB / 0.5648 GB, free: 14.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.523, allocations: 0.8247 MB / 0.5656 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.523, allocations: 41.7 kB / 0.5656 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.5234, allocations: 0.5024 MB / 0.5661 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.5236, allocations: 307.6 kB / 0.5664 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.5239, allocations: 194.8 kB / 0.5666 GB, free: 12.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5241, allocations: 402.7 kB / 0.567 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.5248, allocations: 350.5 kB / 0.5673 GB, free: 11.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.5256, allocations: 0.6147 MB / 0.5679 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.527, allocations: 0.9875 MB / 0.5689 GB, free: 9.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.527, allocations: 8 kB / 0.5689 GB, free: 9.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002046/0.5291, allocations: 1.178 MB / 0.5701 GB, free: 8.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5291, allocations: 11.94 kB / 0.5701 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5291, allocations: 12.03 kB / 0.5701 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.5294, allocations: 73.66 kB / 0.5701 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.5304, allocations: 263.6 kB / 0.5704 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.5326, allocations: 2.822 MB / 0.5732 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.5335, allocations: 158.4 kB / 0.5733 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.5336, allocations: 48 kB / 0.5734 GB, free: 4.961 MB / 430.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.0004449/0.5341, allocations: 257.5 kB / 0.5736 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5342, allocations: 94.81 kB / 0.5737 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.5361, allocations: 1.107 MB / 0.5748 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5361, allocations: 8 kB / 0.5748 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5361, allocations: 4 kB / 0.5748 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.5361, allocations: 7.984 kB / 0.5748 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.54, allocations: 3.155 MB / 0.5779 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.54, allocations: 4 kB / 0.5779 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.5408, allocations: 183.7 kB / 0.578 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.541, allocations: 57.67 kB / 0.5781 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.541, allocations: 27.98 kB / 0.5781 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.5432, allocations: 2.824 MB / 0.5809 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.5432, allocations: 11.94 kB / 0.5809 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.5454, allocations: 1.481 MB / 0.5823 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.5457, allocations: 199.8 kB / 0.5825 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5458, allocations: 24 kB / 0.5826 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.5465, allocations: 56.03 kB / 0.5826 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.5466, allocations: 84.28 kB / 0.5827 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.5467, allocations: 32 kB / 0.5827 GB, free: 10.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007004/0.5474, allocations: 0.5771 MB / 0.5833 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5474, allocations: 0 / 0.5833 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001019/0.5484, allocations: 315.3 kB / 0.5836 GB, free: 9.715 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.0003121/0.5488, allocations: 175 kB / 0.5838 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.5507, allocations: 1.101 MB / 0.5848 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5507, allocations: 0 / 0.5848 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.5516, allocations: 0.6274 MB / 0.5854 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.5525, allocations: 115.3 kB / 0.5856 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.5557, allocations: 1.851 MB / 0.5874 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.5563, allocations: 1.012 MB / 0.5883 GB, free: 4.648 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005332/0.5568, allocations: 163.7 kB / 0.5885 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.557, allocations: 79.42 kB / 0.5886 GB, free: 4.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5571, allocations: 0 / 0.5886 GB, free: 4.41 MB / 446.1 MB Notification: Performance of Templates: time 0.01938/0.5764, allocations: 10.8 MB / 0.5991 GB, free: 9.664 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches