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.000925/0.000925, allocations: 98.62 kB / 17 MB, free: 6.059 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.001199/0.001199, allocations: 179.8 kB / 17.89 MB, free: 5.645 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.485/1.485, allocations: 223.3 MB / 241.9 MB, free: 216 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.2648/0.2648, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01902/0.1759, allocations: 17.05 MB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1894, allocations: 4.527 MB / 493.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.1939, allocations: 147.6 kB / 493.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.198, allocations: 0.8696 MB / 494.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.2072, allocations: 1.909 MB / 496.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.2115, allocations: 0.9529 MB / 497.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01658/0.2281, allocations: 11.57 MB / 0.4967 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3801/0.6082, allocations: 21.31 MB / 0.5175 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009925/0.6182, allocations: 4.534 MB / 0.5219 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.6283, allocations: 5.177 MB / 0.527 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003173/0.6315, allocations: 0.6807 MB / 0.5277 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004552/0.6361, allocations: 0.8625 MB / 0.5285 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.6388, allocations: 2.276 MB / 0.5307 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004524/0.6434, allocations: 2.335 MB / 0.533 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01856/0.6619, allocations: 19.83 MB / 0.5524 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.662, allocations: 0 / 0.5524 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.662, allocations: 0 / 0.5524 GB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007499/0.6628, allocations: 0 / 0.5524 GB, free: 14.45 MB / 398.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.03341/0.6962, allocations: 11.98 MB / 0.5641 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.6962, allocations: 8.031 kB / 0.5641 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05914/0.7554, allocations: 11.48 MB / 0.5753 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/0.7731, allocations: 6.999 MB / 0.5821 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.7743, allocations: 0.8908 MB / 0.583 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005595/0.7799, allocations: 1.165 MB / 0.5841 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05573/0.8357, allocations: 18.47 MB / 0.6022 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007359/0.8365, allocations: 23.77 kB / 0.6022 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004997/0.8415, allocations: 497.5 kB / 0.6027 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000789/0.8423, allocations: 0.6538 MB / 0.6033 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0482/0.8905, allocations: 19 MB / 0.6219 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1395/1.03, allocations: 60.8 MB / 0.6812 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02548/1.056, allocations: 16.57 MB / 0.6974 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008897/1.065, allocations: 4.505 MB / 0.7018 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000808/1.065, allocations: 241 kB / 0.702 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/1.066, allocations: 103.9 kB / 0.7021 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.033e-05/1.066, allocations: 0 / 0.7021 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.5887/1.654, allocations: 12.31 MB / 0.7142 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.654, allocations: 118.2 kB / 0.7143 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02532/1.68, allocations: 8.555 MB / 0.7226 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001699/1.682, allocations: 133.4 kB / 0.7228 GB, free: 156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004156/1.686, allocations: 4.492 MB / 0.7271 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003012/1.689, allocations: 2.183 MB / 0.7293 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005584/1.689, allocations: 155.9 kB / 0.7294 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004547/1.69, allocations: 0.6276 MB / 0.73 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005723/1.696, allocations: 4.075 MB / 0.734 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007174/1.703, allocations: 6.881 MB / 0.7407 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008698/1.711, allocations: 5.57 MB / 0.7462 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-05/1.712, allocations: 23.06 kB / 0.7462 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01957/1.731, allocations: 11.96 MB / 0.7579 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/1.731, allocations: 42.88 kB / 0.7579 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.731, allocations: 92.81 kB / 0.758 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008999/1.732, allocations: 428.4 kB / 0.7584 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/1.739, allocations: 1.999 MB / 0.7604 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/1.746, allocations: 8.92 MB / 0.7691 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008781/1.754, allocations: 1.352 MB / 0.7704 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/1.756, allocations: 378.2 kB / 0.7708 GB, free: 128.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * 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.01126/1.768, allocations: 4.577 MB / 0.7752 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/1.77, allocations: 0.6998 MB / 0.7759 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/1.79, allocations: 10.61 MB / 0.7863 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/1.79, allocations: 67.95 kB / 0.7863 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.972e-05/1.79, allocations: 4 kB / 0.7863 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.723e-05/1.79, allocations: 31.88 kB / 0.7864 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5499/2.34, allocations: 156.6 MB / 0.9393 GB, free: 155.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002503/2.34, allocations: 86.94 kB / 0.9393 GB, free: 155.9 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006069/2.346, allocations: 1.536 MB / 0.9408 GB, free: 155.7 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/2.347, allocations: 403.4 kB / 0.9412 GB, free: 155.6 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000971/2.348, allocations: 248.6 kB / 0.9415 GB, free: 155.5 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/2.354, allocations: 8.788 MB / 0.95 GB, free: 147.5 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-05/2.354, allocations: 141.3 kB / 0.9502 GB, free: 147.4 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02589/2.38, allocations: 18.47 MB / 0.9682 GB, free: 136.5 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007684/2.387, allocations: 2.026 MB / 0.9702 GB, free: 135.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002418/2.39, allocations: 240.8 kB / 0.9704 GB, free: 135.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006964/2.397, allocations: 0.5629 MB / 0.971 GB, free: 135.5 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.398, allocations: 0.7274 MB / 0.9717 GB, free: 135.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005843/2.399, allocations: 304.4 kB / 0.972 GB, free: 135.1 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.01316/2.412, allocations: 5.99 MB / 0.9778 GB, free: 133.1 MB / 0.5451 GB Notification: Performance of sort global known variables: time 9.12e-07/2.412, allocations: 1.531 kB / 0.9778 GB, free: 133.1 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.0143/2.426, allocations: 2.629 MB / 0.9804 GB, free: 131.2 MB / 0.5451 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.002453/2.429, allocations: 496.8 kB / 0.9809 GB, free: 130.7 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01643/2.445, allocations: 10.33 MB / 0.991 GB, free: 121.9 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 8.803e-05/2.445, allocations: 12 kB / 0.991 GB, free: 121.9 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.009463/2.455, allocations: 5.438 MB / 0.9963 GB, free: 117.2 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02067/2.476, allocations: 1.461 MB / 0.9977 GB, free: 115.9 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0539/2.53, allocations: 27.94 MB / 1.025 GB, free: 87.42 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0187/2.548, allocations: 7.769 MB / 1.033 GB, free: 79.61 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.01522/2.564, allocations: 3.57 MB / 1.036 GB, free: 76.03 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004488/2.568, allocations: 0.5853 MB / 1.037 GB, free: 75.44 MB / 0.5451 GB Notification: Performance of SimCode: time 1.683e-06/2.568, allocations: 0 / 1.037 GB, free: 75.44 MB / 0.5451 GB Notification: Performance of Templates: time 0.4843/3.052, allocations: 95.99 MB / 1.13 GB, free: 163.7 MB / 0.5607 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches