Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 193.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 55.91 kB / 370.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2761, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00518/0.2813, allocations: 3.69 MB / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.283, allocations: 0.8529 MB / 427.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.2832, allocations: 8 kB / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.2835, allocations: 87.08 kB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.2838, allocations: 194.3 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.2842, allocations: 143.8 kB / 428.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.2849, allocations: 0.6654 MB / 428.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2851, allocations: 139.4 kB / 428.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.2855, allocations: 270.9 kB / 429.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.2858, allocations: 254.6 kB / 429.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.2859, allocations: 56 kB / 429.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.286, allocations: 56 kB / 429.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2861, allocations: 123.5 kB / 429.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.2863, allocations: 254.8 kB / 429.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.2871, allocations: 0.6483 MB / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2871, allocations: 0 / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2871, allocations: 0 / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2871, allocations: 0 / 430.5 MB, free: 7 MB / 334.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.001482/0.2886, allocations: 0.8047 MB / 431.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2886, allocations: 8.031 kB / 431.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.2887, allocations: 80.39 kB / 431.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.2893, allocations: 306.1 kB / 431.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.2893, allocations: 37.38 kB / 431.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.2894, allocations: 52.38 kB / 431.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.2903, allocations: 0.619 MB / 432.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2903, allocations: 4 kB / 432.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.2904, allocations: 20 kB / 432.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.2904, allocations: 12 kB / 432.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.2911, allocations: 332.4 kB / 432.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.2938, allocations: 1.448 MB / 434.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.2943, allocations: 243.9 kB / 434.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.2945, allocations: 141.6 kB / 434.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2945, allocations: 4 kB / 434.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.2946, allocations: 42.5 kB / 434.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.325e-06/0.2946, allocations: 0 / 434.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001896/0.2965, allocations: 0.8148 MB / 435.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.2965, allocations: 81.11 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.297, allocations: 377.5 kB / 435.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.297, allocations: 33.7 kB / 435.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2972, allocations: 296.1 kB / 436.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.2973, allocations: 119 kB / 436.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2975, allocations: 74.12 kB / 436.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2976, allocations: 350.7 kB / 436.7 MB, free: 460 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2979, allocations: 100.8 kB / 436.8 MB, free: 356 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.2981, allocations: 194.6 kB / 437 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.2987, allocations: 308.7 kB / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2987, allocations: 0 / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008683/0.2995, allocations: 444.5 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2996, allocations: 8 kB / 437.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2996, allocations: 4 kB / 437.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.3, allocations: 85.59 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.3003, allocations: 79.94 kB / 437.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.303, allocations: 2.864 MB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.3033, allocations: 24.08 kB / 440.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3033, allocations: 19.98 kB / 440.9 MB, free: 12.05 MB / 350.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.0002418/0.3035, allocations: 165.7 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.3036, allocations: 43.7 kB / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.3037, allocations: 39.27 kB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3037, allocations: 7.938 kB / 441.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3037, allocations: 7.938 kB / 441.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3037, allocations: 8.047 kB / 441.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3051, allocations: 0.7995 MB / 441.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3051, allocations: 0 / 441.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3053, allocations: 43.97 kB / 442 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3056, allocations: 85.58 kB / 442 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3056, allocations: 8 kB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.3081, allocations: 2.867 MB / 444.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3082, allocations: 3.938 kB / 444.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000968/0.3091, allocations: 0.61 MB / 445.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.3092, allocations: 43.73 kB / 445.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.3092, allocations: 8 kB / 445.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.3096, allocations: 31.97 kB / 445.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.3097, allocations: 19.95 kB / 445.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3097, allocations: 12 kB / 445.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003006/0.31, allocations: 259.2 kB / 445.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.31, allocations: 0 / 445.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.3106, allocations: 120 kB / 446 MB, free: 6.598 MB / 350.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.000141/0.3107, allocations: 110.9 kB / 446.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009605/0.3117, allocations: 0.5031 MB / 446.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3117, allocations: 0 / 446.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.3123, allocations: 377.2 kB / 447 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.3128, allocations: 45.73 kB / 447 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3145, allocations: 0.963 MB / 448 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3147, allocations: 242.2 kB / 448.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.3149, allocations: 39.27 kB / 448.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.315, allocations: 31.42 kB / 448.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.315, allocations: 0 / 448.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01094/0.3259, allocations: 5.036 MB / 453.3 MB, free: 15.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30270497687161]