Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 97.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 178.5 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01726/0.15, allocations: 15.81 MB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1625, allocations: 4.704 MB / 492 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005094/0.1676, allocations: 135.6 kB / 492.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004497/0.1722, allocations: 0.9479 MB / 493.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.1824, allocations: 1.813 MB / 494.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.1868, allocations: 0.9425 MB / 495.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.2033, allocations: 7.761 MB / 0.4918 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3897/0.5931, allocations: 21.1 MB / 0.5124 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009147/0.6023, allocations: 4.097 MB / 0.5164 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.6132, allocations: 4.644 MB / 0.5209 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003498/0.6167, allocations: 0.68 MB / 0.5216 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006621/0.6233, allocations: 0.8315 MB / 0.5224 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006398/0.6298, allocations: 2.212 MB / 0.5245 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007115/0.6369, allocations: 2.327 MB / 0.5268 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.6605, allocations: 19.78 MB / 0.5461 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6605, allocations: 0 / 0.5461 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6605, allocations: 4 kB / 0.5461 GB, free: 1.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009282/0.6615, allocations: 0 / 0.5461 GB, free: 1.293 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04007/0.7016, allocations: 11.97 MB / 0.5578 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.7016, allocations: 8.031 kB / 0.5578 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06113/0.7628, allocations: 11.49 MB / 0.569 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/0.782, allocations: 7.179 MB / 0.5761 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/0.7831, allocations: 0.8896 MB / 0.5769 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006232/0.7894, allocations: 1.17 MB / 0.5781 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06271/0.8521, allocations: 18.35 MB / 0.596 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006242/0.8528, allocations: 31.73 kB / 0.596 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0058/0.8586, allocations: 491.4 kB / 0.5965 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008481/0.8595, allocations: 0.6577 MB / 0.5971 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05091/0.9104, allocations: 18.96 MB / 0.6156 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1708/1.081, allocations: 60.56 MB / 0.6748 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03259/1.114, allocations: 16.53 MB / 0.6909 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009278/1.115, allocations: 240.5 kB / 0.6912 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/1.115, allocations: 103.9 kB / 0.6913 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=653): time 1.281e-05/1.115, allocations: 0 / 0.6913 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=653): time 0.03748/1.153, allocations: 12.2 MB / 0.7032 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.153, allocations: 116.5 kB / 0.7033 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3695/1.522, allocations: 8.473 MB / 0.7116 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001778/1.524, allocations: 134.8 kB / 0.7117 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006395/1.531, allocations: 4.496 MB / 0.7161 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003704/1.534, allocations: 2.183 MB / 0.7182 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007788/1.535, allocations: 154.9 kB / 0.7184 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005723/1.536, allocations: 0.6209 MB / 0.719 GB, free: 156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008291/1.544, allocations: 4.063 MB / 0.7229 GB, free: 156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.555, allocations: 6.87 MB / 0.7296 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009939/1.565, allocations: 5.561 MB / 0.7351 GB, free: 149 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001959/1.565, allocations: 27.69 kB / 0.7351 GB, free: 149 MB / 0.5294 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.02737/1.593, allocations: 11.92 MB / 0.7467 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.593, allocations: 47.09 kB / 0.7468 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/1.593, allocations: 89.34 kB / 0.7469 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/1.594, allocations: 399.2 kB / 0.7472 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.602, allocations: 2.011 MB / 0.7492 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005392/1.608, allocations: 8.783 MB / 0.7578 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009191/1.617, allocations: 1.349 MB / 0.7591 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002164/1.619, allocations: 376.8 kB / 0.7595 GB, free: 135.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * 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 (977): * Single equations (assignments): 971 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01215/1.631, allocations: 4.584 MB / 0.7639 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.633, allocations: 0.6998 MB / 0.7646 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/1.651, allocations: 10.54 MB / 0.7749 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/1.651, allocations: 68 kB / 0.775 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/1.651, allocations: 4 kB / 0.775 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-05/1.651, allocations: 32.86 kB / 0.775 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5315/2.182, allocations: 155.9 MB / 0.9272 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004441/2.183, allocations: 85.41 kB / 0.9273 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007638/2.191, allocations: 1.531 MB / 0.9288 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/2.192, allocations: 375.2 kB / 0.9292 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001884/2.194, allocations: 251.3 kB / 0.9294 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/2.2, allocations: 8.68 MB / 0.9379 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.45e-05/2.2, allocations: 138 kB / 0.938 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03745/2.237, allocations: 33.64 MB / 0.9708 GB, free: 125.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007052/2.244, allocations: 2.013 MB / 0.9728 GB, free: 124.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002798/2.247, allocations: 244 kB / 0.973 GB, free: 124.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007297/2.255, allocations: 0.5482 MB / 0.9736 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001956/2.257, allocations: 0.7294 MB / 0.9743 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007135/2.257, allocations: 309.7 kB / 0.9746 GB, free: 124.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01313/2.27, allocations: 5.941 MB / 0.9804 GB, free: 122.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.92e-07/2.27, allocations: 0 / 0.9804 GB, free: 122.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01812/2.289, allocations: 2.608 MB / 0.9829 GB, free: 121.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003915/2.293, allocations: 494.5 kB / 0.9834 GB, free: 121.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.021/2.314, allocations: 10.27 MB / 0.9934 GB, free: 117.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.434e-05/2.314, allocations: 16 kB / 0.9935 GB, free: 117.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009301/2.323, allocations: 5.398 MB / 0.9987 GB, free: 112.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/2.333, allocations: 1.361 MB / 1 GB, free: 111.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0502/2.384, allocations: 27.88 MB / 1.027 GB, free: 84.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.395, allocations: 7.946 MB / 1.035 GB, free: 77.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009425/2.405, allocations: 3.574 MB / 1.039 GB, free: 74.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/2.407, allocations: 0.5853 MB / 1.039 GB, free: 73.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/2.407, allocations: 0 / 1.039 GB, free: 73.51 MB / 0.545 GB Notification: Performance of Templates: time 0.4887/2.896, allocations: 95.17 MB / 1.132 GB, free: 167.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches