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.001363/0.001363, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 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.2262/0.2262, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 76.2 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3463, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009063/0.3554, allocations: 7.496 MB / 0.539 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.3607, allocations: 2.352 MB / 0.5413 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.3616, allocations: 22.81 kB / 0.5413 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.3656, allocations: 1.758 MB / 0.543 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.3677, allocations: 0.6939 MB / 0.5437 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3694, allocations: 0.7489 MB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3713, allocations: 1.246 MB / 0.5456 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.3731, allocations: 0.9315 MB / 0.5465 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.3742, allocations: 0.5053 MB / 0.547 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.3755, allocations: 0.6742 MB / 0.5477 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.3759, allocations: 107.6 kB / 0.5478 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.377, allocations: 299.8 kB / 0.5481 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.3774, allocations: 271 kB / 0.5483 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3784, allocations: 0.6064 MB / 0.5489 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.3807, allocations: 1.606 MB / 0.5505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3807, allocations: 3.938 kB / 0.5505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3807, allocations: 0 / 0.5505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.3808, allocations: 0 / 0.5505 GB, free: 14.36 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.005248/0.3861, allocations: 1.803 MB / 0.5523 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3861, allocations: 8.031 kB / 0.5523 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009918/0.396, allocations: 1.33 MB / 0.5536 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3972, allocations: 0.5685 MB / 0.5541 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3974, allocations: 99.03 kB / 0.5542 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.3977, allocations: 144 kB / 0.5544 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.4006, allocations: 1.238 MB / 0.5556 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.4006, allocations: 8 kB / 0.5556 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.4008, allocations: 56 kB / 0.5556 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.4009, allocations: 32 kB / 0.5557 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.4035, allocations: 1.443 MB / 0.5571 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008912/0.4125, allocations: 5.793 MB / 0.5627 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4143, allocations: 0.9535 MB / 0.5637 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.415, allocations: 367.7 kB / 0.564 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.4152, allocations: 183.2 kB / 0.5642 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4152, allocations: 51.56 kB / 0.5642 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.216e-06/0.4152, allocations: 0 / 0.5642 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002405/0.4176, allocations: 1.198 MB / 0.5654 GB, free: 14.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4177, allocations: 64.41 kB / 0.5655 GB, free: 14.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4188, allocations: 0.8208 MB / 0.5663 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.4189, allocations: 41.7 kB / 0.5663 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.4192, allocations: 0.4986 MB / 0.5668 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.4195, allocations: 307.5 kB / 0.5671 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.4198, allocations: 198.8 kB / 0.5673 GB, free: 12.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.42, allocations: 402.7 kB / 0.5677 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/0.4207, allocations: 350.5 kB / 0.568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/0.4215, allocations: 0.6107 MB / 0.5686 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.423, allocations: 0.9953 MB / 0.5696 GB, free: 9.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.4231, allocations: 0 / 0.5696 GB, free: 9.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002161/0.4252, allocations: 1.181 MB / 0.5707 GB, free: 8.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4253, allocations: 15.92 kB / 0.5707 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.4253, allocations: 8 kB / 0.5707 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.4256, allocations: 74.19 kB / 0.5708 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4267, allocations: 263.5 kB / 0.5711 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.429, allocations: 2.822 MB / 0.5738 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.43, allocations: 146.2 kB / 0.574 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.4301, allocations: 55.98 kB / 0.574 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.0004497/0.4306, allocations: 257.6 kB / 0.5743 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4308, allocations: 98.81 kB / 0.5744 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.4327, allocations: 1.111 MB / 0.5754 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4328, allocations: 8 kB / 0.5754 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4328, allocations: 0 / 0.5754 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4328, allocations: 3.984 kB / 0.5754 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.4371, allocations: 3.151 MB / 0.5785 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.4371, allocations: 11.94 kB / 0.5785 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.4379, allocations: 183.7 kB / 0.5787 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.4381, allocations: 61.67 kB / 0.5788 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.4382, allocations: 24 kB / 0.5788 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.4404, allocations: 2.832 MB / 0.5816 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4404, allocations: 4.156 kB / 0.5816 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.4427, allocations: 1.481 MB / 0.583 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.4431, allocations: 203.8 kB / 0.5832 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.4433, allocations: 24 kB / 0.5832 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.444, allocations: 56.03 kB / 0.5833 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4442, allocations: 76.23 kB / 0.5834 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.4443, allocations: 39.98 kB / 0.5834 GB, free: 10.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.4451, allocations: 0.5811 MB / 0.584 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4451, allocations: 0 / 0.584 GB, free: 10.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4462, allocations: 311.4 kB / 0.5843 GB, free: 9.707 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.0003224/0.4466, allocations: 167 kB / 0.5844 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.4486, allocations: 1.098 MB / 0.5855 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4487, allocations: 8.062 kB / 0.5855 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4497, allocations: 0.6227 MB / 0.5861 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.0008947/0.4506, allocations: 131.2 kB / 0.5862 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.454, allocations: 1.878 MB / 0.5881 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.4547, allocations: 1.016 MB / 0.5891 GB, free: 4.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.4551, allocations: 91.42 kB / 0.5891 GB, free: 4.508 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4551, allocations: 0 / 0.5891 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Templates: time 0.0278/0.4829, allocations: 21.39 MB / 0.61 GB, free: 15.09 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches