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.001348/0.001349, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1018, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00503/0.1069, allocations: 3.812 MB / 361.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1089, allocations: 1.013 MB / 362.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.1092, allocations: 23.88 kB / 362.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1096, allocations: 123.2 kB / 362.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.1103, allocations: 266.7 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1105, allocations: 119.9 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1119, allocations: 1.638 MB / 364.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.113, allocations: 1.011 MB / 365.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.1136, allocations: 0.5332 MB / 366 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.1144, allocations: 0.7315 MB / 366.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.1146, allocations: 100 kB / 366.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1148, allocations: 104 kB / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.1151, allocations: 398.7 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.1158, allocations: 0.6647 MB / 367.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.117, allocations: 1.661 MB / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.117, allocations: 0 / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1171, allocations: 0 / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1171, allocations: 4 kB / 369.6 MB, free: 2.242 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.002766/0.1198, allocations: 1.676 MB / 371.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1199, allocations: 12.03 kB / 371.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.1204, allocations: 167.2 kB / 371.5 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1677/0.2882, allocations: 0.8578 MB / 372.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.2883, allocations: 85.03 kB / 372.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.2884, allocations: 111.8 kB / 372.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.291, allocations: 1.546 MB / 374 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2911, allocations: 0 / 374 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.2912, allocations: 47 kB / 374.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.2912, allocations: 26.59 kB / 374.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.2933, allocations: 1.317 MB / 375.4 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005719/0.299, allocations: 4.215 MB / 379.7 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.2999, allocations: 1.318 MB / 381 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.3006, allocations: 461.6 kB / 381.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3006, allocations: 5.031 kB / 381.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3006, allocations: 42.09 kB / 381.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 1.884e-06/0.3007, allocations: 1.344 kB / 381.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.002968/0.3036, allocations: 1.938 MB / 383.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.3037, allocations: 65.3 kB / 383.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009721/0.3046, allocations: 0.8224 MB / 384.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3047, allocations: 37.05 kB / 384.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.305, allocations: 0.5423 MB / 384.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.3051, allocations: 182.9 kB / 385.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.3052, allocations: 99.86 kB / 385.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3053, allocations: 382.8 kB / 385.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.3058, allocations: 307.2 kB / 385.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3063, allocations: 402.3 kB / 386.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.3071, allocations: 0.7007 MB / 386.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3071, allocations: 1.094 kB / 386.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001247/0.3084, allocations: 0.9264 MB / 387.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3084, allocations: 6.438 kB / 387.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3084, allocations: 2.625 kB / 387.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.3087, allocations: 112 kB / 388 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.3092, allocations: 128.6 kB / 388.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.3108, allocations: 2.166 MB / 390.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.3111, allocations: 31.53 kB / 390.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3112, allocations: 18.31 kB / 390.3 MB, free: 9.777 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.0005009/0.3117, allocations: 457 kB / 390.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3118, allocations: 72.94 kB / 390.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.3119, allocations: 97.02 kB / 390.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3119, allocations: 9.312 kB / 390.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3119, allocations: 1.344 kB / 390.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3119, allocations: 3.984 kB / 390.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.3145, allocations: 2.029 MB / 393 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3145, allocations: 2.938 kB / 393 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.3149, allocations: 89.88 kB / 393 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.3151, allocations: 99.75 kB / 393.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.3151, allocations: 17.5 kB / 393.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.3166, allocations: 2.134 MB / 395.3 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3166, allocations: 6.547 kB / 395.3 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3181, allocations: 1.198 MB / 396.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3183, allocations: 164.2 kB / 396.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.3184, allocations: 12.44 kB / 396.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3187, allocations: 50.36 kB / 396.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3189, allocations: 47.22 kB / 396.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3189, allocations: 20.14 kB / 396.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006104/0.3195, allocations: 0.5871 MB / 397.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3195, allocations: 1.438 kB / 397.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.3203, allocations: 213.5 kB / 397.6 MB, free: 4.785 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.0001343/0.3204, allocations: 113.2 kB / 397.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3215, allocations: 0.8199 MB / 398.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3215, allocations: 0 / 398.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.3221, allocations: 487.8 kB / 399 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.3229, allocations: 164.5 kB / 399.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.3256, allocations: 2.703 MB / 401.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.3263, allocations: 1.317 MB / 403.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3264, allocations: 55.42 kB / 403.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3265, allocations: 0 / 403.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of Templates: time 0.023/0.3495, allocations: 18.9 MB / 422.1 MB, free: 12.94 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