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.001347/0.001347, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 210.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.306, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008418/0.3144, allocations: 7.498 MB / 0.539 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.3192, allocations: 2.344 MB / 0.5413 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3203, allocations: 27.5 kB / 0.5413 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.3245, allocations: 1.752 MB / 0.543 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.3267, allocations: 0.686 MB / 0.5437 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.3284, allocations: 0.7656 MB / 0.5444 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.3304, allocations: 1.246 MB / 0.5456 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.332, allocations: 0.9353 MB / 0.5466 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009553/0.333, allocations: 0.5021 MB / 0.547 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3341, allocations: 0.6746 MB / 0.5477 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.3345, allocations: 107.2 kB / 0.5478 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3355, allocations: 299.8 kB / 0.5481 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.3358, allocations: 275 kB / 0.5484 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008439/0.3367, allocations: 0.6025 MB / 0.5489 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.3388, allocations: 1.608 MB / 0.5505 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3388, allocations: 3.938 kB / 0.5505 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3388, allocations: 0 / 0.5505 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.3389, allocations: 0 / 0.5505 GB, free: 14.3 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.00442/0.3433, allocations: 1.833 MB / 0.5523 GB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3433, allocations: 8.031 kB / 0.5523 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/0.3526, allocations: 1.346 MB / 0.5536 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3536, allocations: 0.5609 MB / 0.5542 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.3537, allocations: 103 kB / 0.5543 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.3539, allocations: 140.1 kB / 0.5544 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.3562, allocations: 1.234 MB / 0.5556 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.3563, allocations: 8 kB / 0.5556 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3564, allocations: 52 kB / 0.5557 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.3564, allocations: 32 kB / 0.5557 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.3588, allocations: 1.451 MB / 0.5571 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/0.3671, allocations: 5.811 MB / 0.5628 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.3689, allocations: 0.9519 MB / 0.5637 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.3695, allocations: 367.8 kB / 0.5641 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.3697, allocations: 191.1 kB / 0.5643 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.3698, allocations: 51.5 kB / 0.5643 GB, free: 15.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.727e-06/0.3698, allocations: 0 / 0.5643 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002417/0.3722, allocations: 1.195 MB / 0.5655 GB, free: 14.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3723, allocations: 72.34 kB / 0.5655 GB, free: 14.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3733, allocations: 0.817 MB / 0.5663 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.3734, allocations: 41.7 kB / 0.5664 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.3737, allocations: 0.5156 MB / 0.5669 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.374, allocations: 325.2 kB / 0.5672 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.3743, allocations: 198.9 kB / 0.5674 GB, free: 12.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3745, allocations: 398.7 kB / 0.5678 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.3752, allocations: 350.5 kB / 0.5681 GB, free: 11.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008285/0.376, allocations: 0.6147 MB / 0.5687 GB, free: 10.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.3775, allocations: 0.9914 MB / 0.5697 GB, free: 9.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3775, allocations: 4 kB / 0.5697 GB, free: 9.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002191/0.3797, allocations: 1.182 MB / 0.5708 GB, free: 8.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3797, allocations: 14.5 kB / 0.5708 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.3798, allocations: 11.94 kB / 0.5709 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.3801, allocations: 74.23 kB / 0.5709 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/0.3811, allocations: 263.6 kB / 0.5712 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.3833, allocations: 2.822 MB / 0.5739 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/0.3843, allocations: 162.6 kB / 0.5741 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.3844, allocations: 48 kB / 0.5741 GB, free: 4.809 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.0004303/0.3848, allocations: 261.6 kB / 0.5744 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.385, allocations: 99.33 kB / 0.5745 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3869, allocations: 1.107 MB / 0.5756 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3869, allocations: 7.984 kB / 0.5756 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3869, allocations: 3.984 kB / 0.5756 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.3872, allocations: 196.2 kB / 0.5758 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3873, allocations: 16 kB / 0.5758 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.3878, allocations: 51.91 kB / 0.5758 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.388, allocations: 60.92 kB / 0.5759 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001873/0.3899, allocations: 0.8976 MB / 0.5768 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001975/0.3919, allocations: 1.302 MB / 0.578 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005235/0.3924, allocations: 331.9 kB / 0.5783 GB, free: 420 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007452/0.3932, allocations: 0.5771 MB / 0.5789 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Backend: time 7.31e-07/0.3932, allocations: 4 kB / 0.5789 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3953, allocations: 1.018 MB / 0.5799 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 0.002969/0.3983, allocations: 2.017 MB / 0.5819 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Templates: time 0.02545/0.4238, allocations: 15.21 MB / 0.5967 GB, free: 13.54 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/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