Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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) 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(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.0009042, allocations: 96.34 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004052/0.1098, allocations: 3.412 MB / 363.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1121, allocations: 0.9893 MB / 364.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.1127, allocations: 27.88 kB / 364.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1132, allocations: 119.2 kB / 364.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.1142, allocations: 258.7 kB / 364.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1146, allocations: 115.9 kB / 364.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.1161, allocations: 1.654 MB / 366.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1173, allocations: 0.9994 MB / 367.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007535/0.118, allocations: 482 kB / 367.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.119, allocations: 0.6379 MB / 368.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.1193, allocations: 72 kB / 368.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1196, allocations: 72 kB / 368.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.1199, allocations: 350.7 kB / 369.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000825/0.1208, allocations: 0.6351 MB / 369.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.1221, allocations: 1.633 MB / 371.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1221, allocations: 0 / 371.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1221, allocations: 0 / 371.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.429e-05/0.1222, allocations: 0 / 371.3 MB, free: 1.789 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002969/0.1252, allocations: 1.465 MB / 372.8 MB, free: 276 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1252, allocations: 8.031 kB / 372.8 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.1259, allocations: 183.2 kB / 373 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1936/0.3195, allocations: 0.8586 MB / 373.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.3196, allocations: 86.11 kB / 373.9 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3198, allocations: 109 kB / 374 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.3228, allocations: 1.55 MB / 375.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.3228, allocations: 1.344 kB / 375.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3229, allocations: 49.58 kB / 375.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.323, allocations: 27.31 kB / 375.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.3253, allocations: 1.329 MB / 377 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.3318, allocations: 4.249 MB / 381.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3329, allocations: 1.323 MB / 382.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/0.3337, allocations: 467.9 kB / 383 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3337, allocations: 6 kB / 383 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3338, allocations: 47.05 kB / 383.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.715e-06/0.3338, allocations: 0 / 383.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003518/0.3373, allocations: 1.977 MB / 385 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3373, allocations: 57.25 kB / 385.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3385, allocations: 0.8252 MB / 385.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3385, allocations: 36.7 kB / 386 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.3389, allocations: 0.5451 MB / 386.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.339, allocations: 173.8 kB / 386.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.3391, allocations: 49.12 kB / 386.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3392, allocations: 391.8 kB / 387.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3398, allocations: 306.9 kB / 387.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3403, allocations: 416.3 kB / 387.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.3413, allocations: 0.7083 MB / 388.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3413, allocations: 0 / 388.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001428/0.3427, allocations: 0.9377 MB / 389.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3427, allocations: 6.344 kB / 389.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3428, allocations: 5.938 kB / 389.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.3431, allocations: 113.2 kB / 389.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.3436, allocations: 127 kB / 389.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.3456, allocations: 2.173 MB / 391.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.346, allocations: 35.31 kB / 391.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.346, allocations: 18.41 kB / 391.9 MB, free: 8.941 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005955/0.3466, allocations: 455.1 kB / 392.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3468, allocations: 77.28 kB / 392.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3469, allocations: 92.89 kB / 392.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.347, allocations: 5.344 kB / 392.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.347, allocations: 1.219 kB / 392.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.347, allocations: 5.266 kB / 392.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.3499, allocations: 2.05 MB / 394.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3499, allocations: 1.375 kB / 394.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.3503, allocations: 96.78 kB / 394.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.3505, allocations: 97.03 kB / 394.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.3505, allocations: 13.5 kB / 394.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.3521, allocations: 2.143 MB / 396.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3522, allocations: 1.938 kB / 396.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3538, allocations: 1.219 MB / 398.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.354, allocations: 164.4 kB / 398.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3541, allocations: 13.16 kB / 398.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.3545, allocations: 57.73 kB / 398.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3546, allocations: 39.94 kB / 398.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3547, allocations: 15.19 kB / 398.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.3554, allocations: 0.5996 MB / 399 MB, free: 3.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3554, allocations: 0 / 399 MB, free: 3.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008106/0.3562, allocations: 206.9 kB / 399.3 MB, free: 3.949 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.3564, allocations: 119.4 kB / 399.4 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3576, allocations: 0.8277 MB / 400.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3576, allocations: 1.281 kB / 400.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.3583, allocations: 0.4901 MB / 400.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3594, allocations: 167.1 kB / 400.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3627, allocations: 2.761 MB / 403.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.3638, allocations: 1.317 MB / 404.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.364, allocations: 51.44 kB / 405 MB, free: 14.57 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.364, allocations: 0 / 405 MB, free: 14.57 MB / 318.1 MB Notification: Performance of Templates: time 0.02588/0.3899, allocations: 18.75 MB / 423.7 MB, free: 11.88 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches