Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 101.5 kB / 18.39 MB, free: 4.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.001221/0.001221, allocations: 187 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08055/0.08186, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.1779/0.2598, allocations: 5.874 MB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.2637, allocations: 1.908 MB / 383.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.2646, allocations: 19.25 kB / 383.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.2685, allocations: 1.627 MB / 385.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.2711, allocations: 0.8323 MB / 386.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.272, allocations: 283.7 kB / 386.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.2734, allocations: 0.8933 MB / 387.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.2749, allocations: 0.8748 MB / 388.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.2756, allocations: 397 kB / 388.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.2766, allocations: 0.5356 MB / 389 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.2769, allocations: 82.59 kB / 389.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/0.2778, allocations: 247.6 kB / 389.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.2781, allocations: 198.7 kB / 389.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006715/0.2787, allocations: 466.1 kB / 390 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2806, allocations: 1.237 MB / 391.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2806, allocations: 0 / 391.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2806, allocations: 1.062 kB / 391.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.2807, allocations: 0 / 391.3 MB, free: 5.918 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003529/0.2842, allocations: 1.424 MB / 392.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2843, allocations: 11.22 kB / 392.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007045/0.2913, allocations: 0.9692 MB / 393.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2923, allocations: 441.8 kB / 394.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.2924, allocations: 86.91 kB / 394.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.2926, allocations: 109.7 kB / 394.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.2947, allocations: 1.136 MB / 395.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.2948, allocations: 2.812 kB / 395.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.2949, allocations: 49.53 kB / 395.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.2949, allocations: 27.05 kB / 395.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.2969, allocations: 1.135 MB / 396.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.3021, allocations: 3.921 MB / 400.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.3053, allocations: 3.758 MB / 404.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.3059, allocations: 324.4 kB / 404.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.306, allocations: 92.27 kB / 404.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3061, allocations: 51.45 kB / 404.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.695e-06/0.3061, allocations: 1.219 kB / 404.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001508/0.3076, allocations: 0.7562 MB / 405.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3077, allocations: 116.3 kB / 405.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.3081, allocations: 328.5 kB / 406 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.3081, allocations: 36.73 kB / 406 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.3084, allocations: 441 kB / 406.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3086, allocations: 242.8 kB / 406.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.3089, allocations: 176.1 kB / 406.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.309, allocations: 361.1 kB / 407.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.3095, allocations: 240.7 kB / 407.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.3101, allocations: 0.5615 MB / 408 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3113, allocations: 0.8762 MB / 408.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3113, allocations: 7.219 kB / 408.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001487/0.3128, allocations: 0.8994 MB / 409.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3129, allocations: 14.25 kB / 409.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3129, allocations: 9.75 kB / 409.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.3129, allocations: 24.44 kB / 409.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.3137, allocations: 237 kB / 410 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.3138, allocations: 19.09 kB / 410.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.3143, allocations: 104 kB / 410.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.3144, allocations: 43.69 kB / 410.2 MB, free: 9.023 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.3147, allocations: 240.6 kB / 410.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3148, allocations: 53.55 kB / 410.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3163, allocations: 0.6795 MB / 411.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3164, allocations: 7.969 kB / 411.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3164, allocations: 1.062 kB / 411.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3164, allocations: 5.172 kB / 411.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.3189, allocations: 1.567 MB / 412.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.319, allocations: 5.031 kB / 412.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.3195, allocations: 149.7 kB / 412.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3196, allocations: 2.844 kB / 412.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.3196, allocations: 20.05 kB / 412.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3196, allocations: 4.719 kB / 412.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3196, allocations: 6.031 kB / 412.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.3211, allocations: 1.16 MB / 414.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3213, allocations: 135.1 kB / 414.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.3213, allocations: 15.62 kB / 414.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3217, allocations: 22.3 kB / 414.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.3218, allocations: 55 kB / 414.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3219, allocations: 19.53 kB / 414.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.3221, allocations: 210.1 kB / 414.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 414.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009001/0.323, allocations: 247 kB / 414.8 MB, free: 6.121 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.3233, allocations: 146 kB / 414.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3245, allocations: 0.6916 MB / 415.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3245, allocations: 1.094 kB / 415.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.325, allocations: 321.6 kB / 415.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.3256, allocations: 55.33 kB / 416 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3282, allocations: 1.429 MB / 417.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.3287, allocations: 0.9281 MB / 418.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.329, allocations: 63.42 kB / 418.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.329, allocations: 0 / 418.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01207/0.341, allocations: 8.066 MB / 426.5 MB, free: 11.43 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches