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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008971/0.000897, allocations: 105.5 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008561/0.0008564, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.203, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004353/0.2074, allocations: 4.073 MB / 377.9 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2091, allocations: 0.9061 MB / 378.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.2096, allocations: 8.219 kB / 378.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.2099, allocations: 79.53 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.2103, allocations: 149.5 kB / 379 MB, free: 41.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.2107, allocations: 117.9 kB / 379.1 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.2112, allocations: 0.654 MB / 379.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.2115, allocations: 174.5 kB / 380 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.2118, allocations: 245.4 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.212, allocations: 275.2 kB / 380.5 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.2121, allocations: 39.09 kB / 380.5 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.2122, allocations: 37.69 kB / 380.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.2123, allocations: 114.3 kB / 380.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2125, allocations: 286.2 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.2129, allocations: 0.6111 MB / 381.6 MB, free: 39.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2129, allocations: 0 / 381.6 MB, free: 39.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2129, allocations: 0.75 kB / 381.6 MB, free: 39.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2129, allocations: 4 kB / 381.6 MB, free: 39.96 MB / 298.7 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.001244/0.2142, allocations: 0.8556 MB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2142, allocations: 9.719 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.334e-05/0.2143, allocations: 69.62 kB / 382.5 MB, free: 39.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.2147, allocations: 366.2 kB / 382.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2147, allocations: 36.62 kB / 382.9 MB, free: 38.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2148, allocations: 56.67 kB / 382.9 MB, free: 38.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.2154, allocations: 489.8 kB / 383.4 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2155, allocations: 0 / 383.4 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.2155, allocations: 20.47 kB / 383.4 MB, free: 38.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2155, allocations: 13.28 kB / 383.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.2161, allocations: 328.3 kB / 383.8 MB, free: 38.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.2182, allocations: 1.696 MB / 385.5 MB, free: 37.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.2186, allocations: 267.3 kB / 385.7 MB, free: 36.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2188, allocations: 147.4 kB / 385.9 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.2189, allocations: 4 kB / 385.9 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2189, allocations: 40.72 kB / 385.9 MB, free: 36.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.2189, allocations: 5.156 kB / 385.9 MB, free: 36.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001544/0.2205, allocations: 0.9518 MB / 386.9 MB, free: 36.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2205, allocations: 80.58 kB / 387 MB, free: 35.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2208, allocations: 383.7 kB / 387.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2209, allocations: 33.69 kB / 387.4 MB, free: 35.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.221, allocations: 287.5 kB / 387.6 MB, free: 35.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.221, allocations: 114.3 kB / 387.8 MB, free: 35.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.2211, allocations: 70.14 kB / 387.8 MB, free: 35.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.2212, allocations: 354.7 kB / 388.2 MB, free: 34.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2214, allocations: 100.8 kB / 388.3 MB, free: 34.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2215, allocations: 198.5 kB / 388.5 MB, free: 34.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.2219, allocations: 304.3 kB / 388.8 MB, free: 34.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2219, allocations: 3.938 kB / 388.8 MB, free: 34.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006144/0.2225, allocations: 446.5 kB / 389.2 MB, free: 33.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2226, allocations: 8 kB / 389.2 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2226, allocations: 3.984 kB / 389.2 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2229, allocations: 89.72 kB / 389.3 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2231, allocations: 79.91 kB / 389.4 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2246, allocations: 2.845 MB / 392.2 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.2249, allocations: 15.91 kB / 392.2 MB, free: 30.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.2249, allocations: 16 kB / 392.3 MB, free: 30.34 MB / 298.7 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.000134/0.2251, allocations: 169.7 kB / 392.4 MB, free: 30.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2251, allocations: 43.53 kB / 392.5 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.2252, allocations: 51.44 kB / 392.5 MB, free: 30.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2252, allocations: 4 kB / 392.5 MB, free: 30.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2252, allocations: 0 / 392.5 MB, free: 30.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2252, allocations: 4 kB / 392.5 MB, free: 30.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2263, allocations: 0.9421 MB / 393.5 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2263, allocations: 4 kB / 393.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2265, allocations: 39.97 kB / 393.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.2267, allocations: 81.64 kB / 393.6 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2267, allocations: 11.94 kB / 393.6 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.2281, allocations: 2.849 MB / 396.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2282, allocations: 0 / 396.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/0.2327, allocations: 5.729 MB / 402.2 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.2328, allocations: 120.9 kB / 402.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.2329, allocations: 19.92 kB / 402.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.2332, allocations: 23.98 kB / 402.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.2332, allocations: 23.97 kB / 402.4 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2333, allocations: 11.98 kB / 402.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2335, allocations: 271.2 kB / 402.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2335, allocations: 0 / 402.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007044/0.2342, allocations: 168 kB / 402.8 MB, free: 18.99 MB / 298.7 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.0001032/0.2343, allocations: 111.2 kB / 402.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.235, allocations: 0.5034 MB / 403.4 MB, free: 18.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.235, allocations: 0 / 403.4 MB, free: 18.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.2355, allocations: 387.6 kB / 403.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.236, allocations: 73.41 kB / 403.9 MB, free: 17.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2375, allocations: 1.649 MB / 405.5 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2378, allocations: 0.847 MB / 406.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.2379, allocations: 43.28 kB / 406.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.238, allocations: 31.44 kB / 406.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.238, allocations: 0 / 406.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of Templates: time 0.007508/0.2455, allocations: 5.379 MB / 411.8 MB, free: 9.863 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches