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.001147/0.001147, allocations: 113.3 kB / 18.4 MB, free: 4.566 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.001126/0.001126, allocations: 189.2 kB / 19.33 MB, free: 3.648 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.445/1.445, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001406/0.001406, allocations: 47.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004771/0.1162, allocations: 4.042 MB / 379.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1787/0.2949, allocations: 0.9078 MB / 380.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.2955, allocations: 11.47 kB / 380.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.296, allocations: 93.39 kB / 380.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.2966, allocations: 180 kB / 381.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.2972, allocations: 144.1 kB / 381.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2982, allocations: 0.6695 MB / 381.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.2986, allocations: 210.8 kB / 382.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.2991, allocations: 254.8 kB / 382.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.2997, allocations: 292.5 kB / 382.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.2999, allocations: 55.31 kB / 382.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3001, allocations: 55.44 kB / 382.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3002, allocations: 131.7 kB / 382.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.3007, allocations: 305.9 kB / 383.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.3016, allocations: 0.6365 MB / 383.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3016, allocations: 0 / 383.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3016, allocations: 0 / 383.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3017, allocations: 4.5 kB / 383.8 MB, free: 9.172 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.0016/0.3033, allocations: 0.8594 MB / 384.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3033, allocations: 14.45 kB / 384.7 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3034, allocations: 64.84 kB / 384.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.304, allocations: 369.8 kB / 385.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.304, allocations: 40.78 kB / 385.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.3041, allocations: 48.25 kB / 385.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.3049, allocations: 480.8 kB / 385.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3049, allocations: 3.938 kB / 385.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.305, allocations: 21.38 kB / 385.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.305, allocations: 13.19 kB / 385.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.3056, allocations: 338.6 kB / 386 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.3081, allocations: 1.678 MB / 387.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.3085, allocations: 272.2 kB / 388 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3087, allocations: 143.2 kB / 388.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3088, allocations: 3.969 kB / 388.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.3088, allocations: 41.08 kB / 388.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.3088, allocations: 0 / 388.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001673/0.3105, allocations: 0.9491 MB / 389.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3105, allocations: 81.08 kB / 389.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.311, allocations: 383.5 kB / 389.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.311, allocations: 32.14 kB / 389.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.3112, allocations: 286.2 kB / 389.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.3113, allocations: 110 kB / 390 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3114, allocations: 75.55 kB / 390 MB, free: 5.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.3115, allocations: 352.5 kB / 390.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.3117, allocations: 103.7 kB / 390.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.312, allocations: 202.6 kB / 390.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.3124, allocations: 306.1 kB / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3124, allocations: 1.125 kB / 391 MB, free: 4.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007942/0.3132, allocations: 448.4 kB / 391.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3132, allocations: 5.906 kB / 391.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3132, allocations: 3.344 kB / 391.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.3136, allocations: 81.53 kB / 391.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.3139, allocations: 82.27 kB / 391.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.3158, allocations: 3.127 MB / 394.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.3161, allocations: 21.19 kB / 394.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3161, allocations: 16.61 kB / 394.8 MB, free: 1.25 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.0001663/0.3163, allocations: 167.6 kB / 394.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.3164, allocations: 44.8 kB / 395 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.3165, allocations: 46.52 kB / 395 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3165, allocations: 3.969 kB / 395 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.3165, allocations: 10.25 kB / 395 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3165, allocations: 1.266 kB / 395 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3179, allocations: 0.9342 MB / 396 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3179, allocations: 1.25 kB / 396 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3181, allocations: 43.53 kB / 396 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.3183, allocations: 85.89 kB / 396.1 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.3184, allocations: 7.234 kB / 396.1 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.3208, allocations: 3.131 MB / 399.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3208, allocations: 1.188 kB / 399.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3218, allocations: 0.6089 MB / 399.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.322, allocations: 119.5 kB / 400 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.322, allocations: 6.875 kB / 400 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.3224, allocations: 35.62 kB / 400 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.3225, allocations: 29.44 kB / 400 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3225, allocations: 11.77 kB / 400 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.3229, allocations: 271.4 kB / 400.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3229, allocations: 0 / 400.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.3235, allocations: 115.7 kB / 400.4 MB, free: 12.66 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.0001462/0.3237, allocations: 119.7 kB / 400.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009558/0.3247, allocations: 0.5119 MB / 401 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.3247, allocations: 1.094 kB / 401 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.3253, allocations: 388.5 kB / 401.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.3258, allocations: 65.66 kB / 401.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3277, allocations: 0.9668 MB / 402.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.3282, allocations: 0.8397 MB / 403.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3283, allocations: 32.2 kB / 403.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3283, allocations: 0 / 403.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Templates: time 0.01356/0.3418, allocations: 8.933 MB / 412.3 MB, free: 6.879 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