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.001803/0.001803, allocations: 119.9 kB / 18.45 MB, free: 4.473 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.001981/0.001981, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.001458/0.001458, allocations: 51.92 kB / 366.9 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09279, allocations: 52.13 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00531/0.0981, allocations: 4.112 MB / 423.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.0996, allocations: 0.8723 MB / 424 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.09978, allocations: 8 kB / 424 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1, allocations: 91.08 kB / 424.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.1003, allocations: 186.4 kB / 424.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1007, allocations: 147.7 kB / 424.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.1013, allocations: 0.6654 MB / 425.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.1016, allocations: 147 kB / 425.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1019, allocations: 259 kB / 425.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.1023, allocations: 290.6 kB / 425.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.1024, allocations: 56 kB / 425.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1025, allocations: 60 kB / 425.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1026, allocations: 127.5 kB / 426 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.1029, allocations: 306.5 kB / 426.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.1036, allocations: 0.6418 MB / 426.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1036, allocations: 0 / 426.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1036, allocations: 0 / 426.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1036, allocations: 3.984 kB / 426.9 MB, free: 4.086 MB / 350.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.001436/0.105, allocations: 0.8722 MB / 427.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1051, allocations: 15.89 kB / 427.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.1052, allocations: 72.45 kB / 427.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.1057, allocations: 371.9 kB / 428.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.1058, allocations: 41.36 kB / 428.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.1058, allocations: 48.38 kB / 428.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.1067, allocations: 483.5 kB / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1067, allocations: 0 / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.1067, allocations: 24 kB / 428.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1067, allocations: 12 kB / 428.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.1074, allocations: 332.3 kB / 429.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.1101, allocations: 1.686 MB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.1105, allocations: 253.1 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1108, allocations: 129.7 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1108, allocations: 4 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.1108, allocations: 38.56 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.1108, allocations: 0 / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001912/0.1128, allocations: 0.9685 MB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1128, allocations: 81.11 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.1132, allocations: 381.7 kB / 432.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1133, allocations: 37.7 kB / 432.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.1135, allocations: 288.1 kB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1136, allocations: 126.9 kB / 433.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1137, allocations: 70.09 kB / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1139, allocations: 358.7 kB / 433.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1141, allocations: 100.8 kB / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.1144, allocations: 186.6 kB / 433.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.1149, allocations: 314 kB / 434.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1149, allocations: 4 kB / 434.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008423/0.1157, allocations: 450.7 kB / 434.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1157, allocations: 8 kB / 434.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1157, allocations: 4 kB / 434.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1161, allocations: 85.81 kB / 434.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.1164, allocations: 71.91 kB / 434.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.1193, allocations: 3.123 MB / 437.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.1196, allocations: 27.94 kB / 437.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1196, allocations: 16.06 kB / 437.9 MB, free: 8.371 MB / 366.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.0002198/0.1198, allocations: 161.7 kB / 438.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.1199, allocations: 47.72 kB / 438.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.12, allocations: 47.45 kB / 438.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.12, allocations: 4 kB / 438.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.12, allocations: 7.875 kB / 438.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.12, allocations: 4 kB / 438.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1214, allocations: 0.9312 MB / 439.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1215, allocations: 0 / 439.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.1216, allocations: 47.91 kB / 439.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.1219, allocations: 85.59 kB / 439.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.122, allocations: 8 kB / 439.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.1246, allocations: 3.131 MB / 442.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1246, allocations: 8.094 kB / 442.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.1256, allocations: 0.6065 MB / 443 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1257, allocations: 124.8 kB / 443.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.1258, allocations: 15.88 kB / 443.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1261, allocations: 23.98 kB / 443.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.1262, allocations: 23.97 kB / 443.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1262, allocations: 11.98 kB / 443.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.1265, allocations: 271.2 kB / 443.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1265, allocations: 0 / 443.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005847/0.1271, allocations: 116 kB / 443.6 MB, free: 2.312 MB / 366.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.000161/0.1272, allocations: 119.1 kB / 443.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009111/0.1282, allocations: 497.1 kB / 444.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1282, allocations: 4 kB / 444.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.1287, allocations: 377.2 kB / 444.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.1292, allocations: 74.02 kB / 444.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1309, allocations: 0.9976 MB / 445.6 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1654/0.2964, allocations: 0.8346 MB / 446.4 MB, free: 29.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2965, allocations: 34.06 kB / 446.5 MB, free: 29.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2965, allocations: 0 / 446.5 MB, free: 29.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01144/0.3079, allocations: 8.94 MB / 455.4 MB, free: 28.13 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.979403020115569]