Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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) 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(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 100.1 kB / 16.5 MB, free: 6.641 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.00161/0.00161, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000974/0.0009741, allocations: 42.83 kB / 299.9 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09184, allocations: 49.46 MB / 349.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004701/0.09657, allocations: 3.776 MB / 353.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.09821, allocations: 0.9425 MB / 354.1 MB, free: 112 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.09842, allocations: 27.88 kB / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.09877, allocations: 119.3 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.09945, allocations: 262.7 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.09968, allocations: 103.9 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.101, allocations: 1.635 MB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.1021, allocations: 1.003 MB / 357.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.1026, allocations: 0.5293 MB / 357.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.1033, allocations: 0.7276 MB / 358.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.1035, allocations: 100 kB / 358.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1037, allocations: 100 kB / 358.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.104, allocations: 406.7 kB / 359.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.1046, allocations: 0.6608 MB / 359.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1061, allocations: 1.959 MB / 361.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1061, allocations: 7.938 kB / 361.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1061, allocations: 0 / 361.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1061, allocations: 0 / 361.7 MB, free: 8.43 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.002607/0.1087, allocations: 1.66 MB / 363.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1088, allocations: 16.02 kB / 363.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.109, allocations: 135.3 kB / 363.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1101, allocations: 0.8422 MB / 364.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.1101, allocations: 82.59 kB / 364.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.1103, allocations: 111.9 kB / 364.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.1126, allocations: 1.552 MB / 366.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1126, allocations: 3.984 kB / 366.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.1127, allocations: 44 kB / 366.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1127, allocations: 28 kB / 366.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1147, allocations: 1.312 MB / 367.5 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1982/0.3129, allocations: 4.21 MB / 371.7 MB, free: 23.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3141, allocations: 1.317 MB / 373 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.3148, allocations: 460.4 kB / 373.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3148, allocations: 10 kB / 373.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3149, allocations: 40.34 kB / 373.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.757e-06/0.3149, allocations: 0.9688 kB / 373.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00335/0.3182, allocations: 1.944 MB / 375.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3183, allocations: 61.17 kB / 375.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3194, allocations: 0.8181 MB / 376.4 MB, free: 21.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3194, allocations: 36.08 kB / 376.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.3198, allocations: 0.5378 MB / 376.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3199, allocations: 180.8 kB / 377.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.3201, allocations: 99.12 kB / 377.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3202, allocations: 390.1 kB / 377.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.3207, allocations: 303.2 kB / 377.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.3212, allocations: 405 kB / 378.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.3222, allocations: 0.6983 MB / 379 MB, free: 19.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3222, allocations: 1.094 kB / 379 MB, free: 19.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001528/0.3237, allocations: 0.9212 MB / 379.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3238, allocations: 5.312 kB / 379.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3238, allocations: 3.109 kB / 379.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.3242, allocations: 111.9 kB / 380 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.3247, allocations: 120.3 kB / 380.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.3268, allocations: 2.179 MB / 382.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.3271, allocations: 26.41 kB / 382.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3272, allocations: 18.81 kB / 382.4 MB, free: 17.54 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.000713/0.3279, allocations: 457.3 kB / 382.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.328, allocations: 76 kB / 382.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.3282, allocations: 94.62 kB / 383 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3282, allocations: 4.25 kB / 383 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.3282, allocations: 6.156 kB / 383 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3282, allocations: 2.484 kB / 383 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.3317, allocations: 2.01 MB / 385 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3317, allocations: 1.094 kB / 385 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.3321, allocations: 92.53 kB / 385.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.3324, allocations: 101.6 kB / 385.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.3324, allocations: 18.61 kB / 385.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.334, allocations: 2.137 MB / 387.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3341, allocations: 2.312 kB / 387.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.3356, allocations: 1.194 MB / 388.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3358, allocations: 162.1 kB / 388.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.3359, allocations: 20.23 kB / 388.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3362, allocations: 51.14 kB / 388.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3363, allocations: 45.72 kB / 388.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3364, allocations: 17.2 kB / 388.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007217/0.3371, allocations: 0.5809 MB / 389.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3371, allocations: 0 / 389.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008406/0.338, allocations: 208.4 kB / 389.6 MB, free: 13.54 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.0001307/0.3381, allocations: 119.1 kB / 389.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3393, allocations: 0.8177 MB / 390.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3393, allocations: 0 / 390.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.3399, allocations: 495.3 kB / 391 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.3408, allocations: 173.2 kB / 391.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.3446, allocations: 2.684 MB / 393.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.3454, allocations: 1.337 MB / 395.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004314/0.3458, allocations: 186.2 kB / 395.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3459, allocations: 48.56 kB / 395.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3459, allocations: 0 / 395.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Templates: time 0.01491/0.3609, allocations: 9.976 MB / 405.4 MB, free: 1.375 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches