Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 103.9 kB / 18.39 MB, free: 4.66 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.001384/0.001384, allocations: 186.4 kB / 19.33 MB, free: 3.738 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.402/1.402, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001296/0.001297, allocations: 55.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08886, allocations: 46.61 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005195/0.0941, allocations: 4.046 MB / 379.9 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1787/0.2728, allocations: 0.9044 MB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2731, allocations: 8.25 kB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.2734, allocations: 97.11 kB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.2737, allocations: 179.1 kB / 381.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.274, allocations: 146.7 kB / 381.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.2745, allocations: 0.67 MB / 381.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.2748, allocations: 202.2 kB / 382.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.2751, allocations: 261.8 kB / 382.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.2754, allocations: 291.3 kB / 382.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.2755, allocations: 55.59 kB / 382.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2756, allocations: 55.25 kB / 382.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.2757, allocations: 132.1 kB / 382.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.276, allocations: 304.7 kB / 383.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.2767, allocations: 0.6355 MB / 383.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2767, allocations: 1.156 kB / 383.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2767, allocations: 0 / 383.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2767, allocations: 3.938 kB / 383.8 MB, free: 9.152 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001178/0.2779, allocations: 0.8579 MB / 384.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2779, allocations: 13.52 kB / 384.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.278, allocations: 67.34 kB / 384.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.2785, allocations: 377.2 kB / 385.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2786, allocations: 36.22 kB / 385.1 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/0.2786, allocations: 49.06 kB / 385.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.2794, allocations: 479.3 kB / 385.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2794, allocations: 3.938 kB / 385.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.2794, allocations: 22.03 kB / 385.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2795, allocations: 12.17 kB / 385.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.28, allocations: 335.5 kB / 386 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2824, allocations: 1.679 MB / 387.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.2828, allocations: 270.7 kB / 388 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.283, allocations: 143.9 kB / 388.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.283, allocations: 2.594 kB / 388.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2831, allocations: 37.06 kB / 388.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/0.2831, allocations: 1.5 kB / 388.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001663/0.2847, allocations: 0.9494 MB / 389.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.2848, allocations: 89.36 kB / 389.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.2852, allocations: 378.9 kB / 389.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2852, allocations: 31.8 kB / 389.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2853, allocations: 288.8 kB / 389.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.2854, allocations: 109.8 kB / 390 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.2855, allocations: 75.45 kB / 390 MB, free: 5.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.2856, allocations: 352.8 kB / 390.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2858, allocations: 100.1 kB / 390.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.286, allocations: 200.8 kB / 390.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.2864, allocations: 311.9 kB / 391 MB, free: 4.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2864, allocations: 1.188 kB / 391 MB, free: 4.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007447/0.2872, allocations: 450.5 kB / 391.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2872, allocations: 5.688 kB / 391.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2872, allocations: 3.312 kB / 391.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.2876, allocations: 81.47 kB / 391.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.2879, allocations: 79.72 kB / 391.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.2897, allocations: 3.133 MB / 394.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2899, allocations: 20.16 kB / 394.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2899, allocations: 16.22 kB / 394.8 MB, free: 1.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.2901, allocations: 167.2 kB / 394.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.2902, allocations: 48.09 kB / 395 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.2903, allocations: 41.38 kB / 395 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2903, allocations: 4.641 kB / 395 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.2903, allocations: 5.188 kB / 395 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2903, allocations: 1.453 kB / 395 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.2915, allocations: 0.9283 MB / 395.9 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2915, allocations: 0 / 395.9 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2917, allocations: 51.56 kB / 396 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.2919, allocations: 81.16 kB / 396.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2919, allocations: 7.219 kB / 396.1 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.2942, allocations: 3.135 MB / 399.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2942, allocations: 1.5 kB / 399.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.2951, allocations: 0.6141 MB / 399.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.2952, allocations: 114.5 kB / 399.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.2952, allocations: 10.41 kB / 400 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2955, allocations: 36.98 kB / 400 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2956, allocations: 24.61 kB / 400 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.2956, allocations: 6.766 kB / 400 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000284/0.2959, allocations: 272.1 kB / 400.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2959, allocations: 0 / 400.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005615/0.2965, allocations: 119.4 kB / 400.4 MB, free: 12.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.2967, allocations: 118 kB / 400.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.2975, allocations: 0.5154 MB / 401 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2975, allocations: 0 / 401 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.2981, allocations: 386.5 kB / 401.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.2986, allocations: 65.28 kB / 401.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3002, allocations: 0.9719 MB / 402.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3006, allocations: 0.8405 MB / 403.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.3007, allocations: 36.67 kB / 403.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3007, allocations: 0 / 403.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.01119/0.3119, allocations: 8.986 MB / 412.3 MB, free: 6.816 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches