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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 106.5 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 187.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.6 MB / 234.1 MB, free: 11.16 MB / 190.1 MB [Timeout remaining time 88] 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=50000,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=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] 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.001765/0.001765, allocations: 56.33 kB / 345.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 49.12 MB / 395 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005085/0.304, allocations: 4.051 MB / 399 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.306, allocations: 0.9251 MB / 399.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.3063, allocations: 17.19 kB / 399.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.3066, allocations: 93.81 kB / 400 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.307, allocations: 192.1 kB / 400.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3075, allocations: 137.3 kB / 400.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006971/0.3082, allocations: 0.6732 MB / 401 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.3085, allocations: 147.3 kB / 401.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.3088, allocations: 264.6 kB / 401.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.3092, allocations: 291.1 kB / 401.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3093, allocations: 56.38 kB / 401.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3094, allocations: 54.56 kB / 401.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3095, allocations: 126.3 kB / 402 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.3098, allocations: 303.9 kB / 402.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.3106, allocations: 0.6469 MB / 402.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.3106, allocations: 1.125 kB / 402.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3106, allocations: 0 / 402.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3106, allocations: 0.5156 kB / 402.9 MB, free: 4.324 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.00141/0.312, allocations: 0.8781 MB / 403.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3121, allocations: 12.89 kB / 403.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3122, allocations: 65.53 kB / 403.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.3128, allocations: 378.2 kB / 404.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.3128, allocations: 37.16 kB / 404.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.3129, allocations: 48.78 kB / 404.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.3138, allocations: 487.4 kB / 404.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3138, allocations: 5.125 kB / 404.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.3138, allocations: 20.25 kB / 404.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3138, allocations: 12.94 kB / 404.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006698/0.3145, allocations: 327 kB / 405.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.3172, allocations: 1.685 MB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.3176, allocations: 253.8 kB / 407.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3179, allocations: 130 kB / 407.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3179, allocations: 5.25 kB / 407.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3179, allocations: 41.31 kB / 407.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.3179, allocations: 0 / 407.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001883/0.3198, allocations: 0.9584 MB / 408.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3198, allocations: 83.8 kB / 408.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.3202, allocations: 383.5 kB / 408.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3203, allocations: 31.83 kB / 408.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3204, allocations: 291 kB / 409 MB, free: 408 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.3205, allocations: 123.6 kB / 409.1 MB, free: 308 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3206, allocations: 71.7 kB / 409.2 MB, free: 264 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3207, allocations: 351.7 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3209, allocations: 109.3 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.3212, allocations: 197.2 kB / 409.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.3217, allocations: 314.4 kB / 410.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3217, allocations: 0 / 410.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009014/0.3226, allocations: 446.5 kB / 410.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3227, allocations: 6.5 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3227, allocations: 3.625 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.3231, allocations: 81.77 kB / 410.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.3235, allocations: 82.19 kB / 410.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.3265, allocations: 3.126 MB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.3268, allocations: 22.33 kB / 413.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.3268, allocations: 15.72 kB / 413.9 MB, free: 12.19 MB / 334.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.0002673/0.3271, allocations: 172 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3272, allocations: 40.42 kB / 414.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.3273, allocations: 46.91 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3273, allocations: 6.844 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.3273, allocations: 11.52 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3273, allocations: 1.125 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.3289, allocations: 0.9235 MB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3289, allocations: 4 kB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3291, allocations: 47.3 kB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.3294, allocations: 73.14 kB / 415.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.3294, allocations: 18.02 kB / 415.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.3323, allocations: 3.135 MB / 418.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3323, allocations: 0 / 418.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3333, allocations: 0.6106 MB / 419 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.3334, allocations: 120 kB / 419.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3335, allocations: 10.38 kB / 419.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.3338, allocations: 29.16 kB / 419.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.3339, allocations: 30.59 kB / 419.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3339, allocations: 16.44 kB / 419.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003406/0.3343, allocations: 272.4 kB / 419.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3343, allocations: 0 / 419.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.335, allocations: 116.3 kB / 419.5 MB, free: 7.234 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.0001773/0.3352, allocations: 114.8 kB / 419.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3362, allocations: 0.496 MB / 420.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3362, allocations: 1.156 kB / 420.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.3368, allocations: 384.9 kB / 420.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.3374, allocations: 57.11 kB / 420.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3395, allocations: 1.007 MB / 421.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.3401, allocations: 0.8361 MB / 422.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3403, allocations: 31.44 kB / 422.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3403, allocations: 1.469 kB / 422.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Templates: time 0.01424/0.3545, allocations: 8.946 MB / 431.4 MB, free: 14.22 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches