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.001575/0.001575, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, 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.2244/0.2244, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3495, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008415/0.3579, allocations: 7.508 MB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.3634, allocations: 2.344 MB / 0.5406 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009138/0.3644, allocations: 23.88 kB / 0.5406 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.3691, allocations: 1.758 MB / 0.5423 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.3716, allocations: 0.6864 MB / 0.543 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3734, allocations: 0.7516 MB / 0.5437 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.3754, allocations: 1.248 MB / 0.545 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.3768, allocations: 0.9395 MB / 0.5459 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.3776, allocations: 0.5014 MB / 0.5464 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.3783, allocations: 0.671 MB / 0.547 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3785, allocations: 107.1 kB / 0.5471 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008109/0.3793, allocations: 303.8 kB / 0.5474 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.3795, allocations: 271 kB / 0.5477 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.3802, allocations: 0.6064 MB / 0.5483 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.3821, allocations: 1.606 MB / 0.5498 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3821, allocations: 0 / 0.5498 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3821, allocations: 0 / 0.5498 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3821, allocations: 0 / 0.5498 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.004302/0.3865, allocations: 1.803 MB / 0.5516 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3865, allocations: 8.031 kB / 0.5516 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009102/0.3956, allocations: 1.33 MB / 0.5529 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3971, allocations: 0.5724 MB / 0.5535 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.3972, allocations: 95.03 kB / 0.5536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.3974, allocations: 140 kB / 0.5537 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.3996, allocations: 1.234 MB / 0.5549 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.3997, allocations: 4 kB / 0.5549 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3998, allocations: 59.98 kB / 0.555 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.3999, allocations: 36 kB / 0.555 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.4022, allocations: 1.443 MB / 0.5564 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008353/0.4106, allocations: 5.793 MB / 0.5621 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.4124, allocations: 0.9574 MB / 0.563 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.413, allocations: 363.8 kB / 0.5633 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.4132, allocations: 183.1 kB / 0.5635 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4132, allocations: 51.56 kB / 0.5636 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.605e-06/0.4132, allocations: 0 / 0.5636 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002201/0.4154, allocations: 1.198 MB / 0.5647 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4155, allocations: 64.41 kB / 0.5648 GB, free: 14.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4165, allocations: 0.8247 MB / 0.5656 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.4165, allocations: 41.7 kB / 0.5656 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.4169, allocations: 0.4946 MB / 0.5661 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.4171, allocations: 307.5 kB / 0.5664 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.4174, allocations: 198.8 kB / 0.5666 GB, free: 12.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4176, allocations: 402.7 kB / 0.567 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.4182, allocations: 346.5 kB / 0.5673 GB, free: 11.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/0.419, allocations: 0.6186 MB / 0.5679 GB, free: 10.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.4205, allocations: 0.9953 MB / 0.5689 GB, free: 9.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4205, allocations: 0 / 0.5689 GB, free: 9.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00199/0.4225, allocations: 1.185 MB / 0.5701 GB, free: 8.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4225, allocations: 11.94 kB / 0.5701 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4225, allocations: 11.94 kB / 0.5701 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.4228, allocations: 70.17 kB / 0.5701 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4239, allocations: 255.6 kB / 0.5704 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.426, allocations: 2.83 MB / 0.5732 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.427, allocations: 154.2 kB / 0.5733 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.427, allocations: 48 kB / 0.5733 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.000429/0.4275, allocations: 265.5 kB / 0.5736 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4276, allocations: 98.81 kB / 0.5737 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.4294, allocations: 1.095 MB / 0.5748 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4295, allocations: 15.98 kB / 0.5748 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4295, allocations: 0 / 0.5748 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4295, allocations: 7.969 kB / 0.5748 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.4333, allocations: 3.155 MB / 0.5779 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4334, allocations: 8 kB / 0.5779 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.4341, allocations: 179.8 kB / 0.578 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.4343, allocations: 65.67 kB / 0.5781 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.4344, allocations: 24 kB / 0.5781 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.4367, allocations: 2.82 MB / 0.5809 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4367, allocations: 7.938 kB / 0.5809 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.4389, allocations: 1.485 MB / 0.5823 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.4391, allocations: 195.8 kB / 0.5825 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4393, allocations: 27.98 kB / 0.5826 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.4399, allocations: 52.05 kB / 0.5826 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.44, allocations: 84.27 kB / 0.5827 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.4401, allocations: 32 kB / 0.5827 GB, free: 10.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007097/0.4408, allocations: 0.5849 MB / 0.5833 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4408, allocations: 0 / 0.5833 GB, free: 10.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4418, allocations: 319.4 kB / 0.5836 GB, free: 9.699 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.0003666/0.4422, allocations: 166 kB / 0.5837 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.444, allocations: 1.098 MB / 0.5848 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.444, allocations: 8.312 kB / 0.5848 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.4449, allocations: 0.6188 MB / 0.5854 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.4456, allocations: 123.2 kB / 0.5856 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.4486, allocations: 1.851 MB / 0.5874 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.4492, allocations: 1.016 MB / 0.5884 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005666/0.4498, allocations: 155.8 kB / 0.5885 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.45, allocations: 83.42 kB / 0.5886 GB, free: 4.406 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.45, allocations: 0 / 0.5886 GB, free: 4.406 MB / 446.1 MB Notification: Performance of Templates: time 0.01932/0.4694, allocations: 11.05 MB / 0.5994 GB, free: 9.406 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